Skip to content

Commit

Permalink
Fix release script to include package.json version changes into relea…
Browse files Browse the repository at this point in the history
…se commit
  • Loading branch information
DanielBaulig committed Feb 23, 2024
1 parent 3084ef4 commit 3823f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ JSON_REPLACE_VERSION="((fs) => fs.writeFileSync('package.json', JSON.stringify({
node -e "$JSON_REPLACE_VERSION"
echo "Updated package.json"

git commit --allow-empty -m "Release $VERSION_LABEL"
git commit --allow-empty -am "Release $VERSION_LABEL"
if [ $? -ne 0 ]; then
echo "Failed creating release commit. Aborting."
exit 1
Expand Down

0 comments on commit 3823f62

Please sign in to comment.