mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02: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 the version does not exist
|
||||||
if ! grep -q "$version" CHANGELOG.md; then
|
if ! grep -q "$version" CHANGELOG.md; then
|
||||||
# And if latest wasn't a minor version
|
# 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 "1d" CHANGELOG.md
|
||||||
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user