Skip to content

Commit

Permalink
Merge pull request #77 from Automattic/fix_release_script
Browse files Browse the repository at this point in the history
Fix filename in release script
  • Loading branch information
ashfame authored Apr 4, 2023
2 parents 9efa9fb + e0b8a70 commit b5efb9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jq ".version = \"$VERSION\"" composer.json > composer.json.tmp
mv composer.json.tmp composer.json
git add composer.json

sed -i"" -e "s/\(Version: \)\(.*\)/\1 $VERSION/g" wp-openid-connect-server.php
sed -i"" -e "s/\(Version: \)\(.*\)/\1 $VERSION/g" openid-connect-server.php
sed -i"" -e "s/\(Stable tag: \)\(.*\)/\1$VERSION/g" README.md
rm -f wp-openid-connect-server.php-e README.md-e
git add wp-openid-connect-server.php
rm -f openid-connect-server.php-e README.md-e
git add openid-connect-server.php

git commit -m "Release v$VERSION"
git tag "v$VERSION"
Expand Down

0 comments on commit b5efb9a

Please sign in to comment.