Skip to content

Commit

Permalink
Merge pull request #282 from roundcube/replace-sed-by-perl
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm authored Nov 20, 2024
2 parents 6e7bbdd + a8d1c59 commit 6b708da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ 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
# Use perl to avoid problems with BSD vs. GNU sed, which have incompatible
# argument syntax for editing files in-place.
perl -pi -e "s/1\.[0-9]\.[0-9]+-/${VERSION}-/" .github/workflows/build.yml
echo "Updating version in build.yml workflow"

echo "Done."

0 comments on commit 6b708da

Please sign in to comment.