mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
feat: release script with automatic version bump commit
This commit is contained in:
@@ -66,6 +66,13 @@ if [ -n "$BUMP_VERSION" ]; then
|
||||
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"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user