diff --git a/scripts/release.sh b/scripts/release.sh index 8b3791a..3070313 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -64,15 +64,8 @@ echo "✅ No uncommitted changes" if [ -n "$BUMP_VERSION" ]; then echo "" echo "📦 Bumping $BUMP_VERSION version..." - npm version $BUMP_VERSION --no-git-tag-version - echo "✅ Version bumped" - - # Commit version bump - echo "" - echo "📝 Committing version bump..." - git add package.json - git commit -m "chore: bump version to $(grep -o '"version": "[^"]*"' package.json | cut -d'"' -f4)" - echo "✅ Version bump committed" + npm version $BUMP_VERSION + echo "✅ Version bumped and tagged" fi echo ""