mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 18:08:16 +01:00
Update onpush_builder.yaml
This commit is contained in:
2
.github/workflows/onpush_builder.yaml
vendored
2
.github/workflows/onpush_builder.yaml
vendored
@@ -102,7 +102,7 @@ jobs:
|
||||
# If the version does not exist
|
||||
if ! grep -q "$version" CHANGELOG.md; then
|
||||
# And if latest wasn't a minor version
|
||||
if [ ! "$(sed -n '/^###/p;q' CHANGELOG.md)" ]; then
|
||||
if [ "$(sed -n '/^###/p;q' CHANGELOG.md)" ]; then
|
||||
sed -i "1d" CHANGELOG.md
|
||||
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user