Skip to content

Commit

Permalink
Update onpush_builder.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 29, 2023
1 parent 69d4df6 commit 010a508
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/onpush_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,10 @@ jobs:
touch CHANGELOG.md
# 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
# sed -i "1d" CHANGELOG.md
# sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
#else
sed -i "1i\- Minor bugs fixed" CHANGELOG.md
# And if there isn't modifications listed
if [[ $(sed "1p" a) != "-"** ]]; then
sed -i "1i\- Minor bugs fixed" CHANGELOG.md
fi
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
#fi
fi
Expand Down

0 comments on commit 010a508

Please sign in to comment.