Update onpush_builder.yaml

This commit is contained in:
Alexandre
2023-03-11 13:33:38 +01:00
committed by GitHub
parent b4a91d9d42
commit 04198b492c

View File

@@ -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