feat: release script with automatic version bump commit

This commit is contained in:
2026-04-14 18:04:28 +05:30
parent 56841bb34d
commit 3d596983b8
+7
View File
@@ -66,6 +66,13 @@ if [ -n "$BUMP_VERSION" ]; then
echo "📦 Bumping $BUMP_VERSION version..." echo "📦 Bumping $BUMP_VERSION version..."
npm version $BUMP_VERSION --no-git-tag-version npm version $BUMP_VERSION --no-git-tag-version
echo "✅ Version bumped" 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"
fi fi
echo "" echo ""