mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update onpush_builder.yaml
This commit is contained in:
4
.github/workflows/onpush_builder.yaml
vendored
4
.github/workflows/onpush_builder.yaml
vendored
@@ -92,13 +92,13 @@ jobs:
|
||||
version=$(sed -e '/version/!d' -e 's/.*version: //' config.yaml)
|
||||
elif [ -f config.json ]; then
|
||||
version=$(sed -e '/version/!d' -e 's/.*[^"]*"\([^"]*\)",/\1/' config.json)
|
||||
else
|
||||
else; then
|
||||
exit 1
|
||||
fi
|
||||
# Create changelog
|
||||
touch CHANGELOG.md
|
||||
# Check version or create it
|
||||
if ! grep -q "$version" CHANGELOG.md, then
|
||||
if ! grep -q "$version" CHANGELOG.md; then
|
||||
sed -i "1i - Minor bug updates" CHANGELOG.md
|
||||
sed -i "1i ## $version (${DATE})" CHANGELOG.md
|
||||
sed -i "1i " CHANGELOG.md
|
||||
|
||||
Reference in New Issue
Block a user