Skip to content

Commit

Permalink
chore: update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackfaded committed Aug 22, 2024
1 parent 8bde7fd commit 4f47616
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ git add $SERVER_META_INFO_PATH
git add $README_PATH
git add $PACKAGE_JSON_PATH
git add $PACKAGE_LOCK_JSON_PATH
git commit -m "Update version to $VERSION"
git tag -a $TAG -m "Release version $VERSION"
npm install
npm run changelog
git add CHANGELOG.md
git commit -m "Update changelog for version $VERSION"
git push origin $TAG
git push origin release/$VERSION
git commit -m "Update version to $VERSION"
git push --tags
git push origin HEAD

echo "Version updated to $VERSION and tagged in Git."

0 comments on commit 4f47616

Please sign in to comment.