mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
fix(release): streamline version bump process and remove commit step
This commit is contained in:
+2
-9
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user