Skip to content

Commit

Permalink
Fix release script to handle tag creation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed May 9, 2024
1 parent 01b8d6c commit ac121ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source .env

version=$(jq -r .version package.json)

git tag -a "v$version" -m "Release v$version"
git tag -a "v$version" -m "Release v$version" || exit 1

git push origin main
git push origin "v$version"
Expand Down

0 comments on commit ac121ba

Please sign in to comment.