Skip to content

Commit

Permalink
Patch build.yml workflow with new version from update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascube committed Sep 19, 2023
1 parent 90599d7 commit b74e6d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ for variant in apache fpm fpm-alpine; do
echo "✓ Wrote $dir/Dockerfile"
done

sed -i -E "s/1\.[0-9]\.[0-9]+-/${VERSION}-/" .github/workflows/build.yml

This comment has been minimized.

Copy link
@ThinkChaos

ThinkChaos Sep 19, 2023

Might want to make the regex a bit more future proof and anchor it with roundcubemail:
"s/(roundcubemail:)[0-9]+\.[0-9]+\.[0-9]+(-)/\1${VERSION}\2/"

echo "Updating version in build.yml workflow"

echo "Done."

0 comments on commit b74e6d2

Please sign in to comment.