Simple guide for creating releases of Vibe Stats - AI Dev Tools Monitor.
Option 1: Automated Command Line (Recommended)
npm run release:patch # Bug fixes: 1.0.1 → 1.0.2
npm run release:minor # New features: 1.0.1 → 1.1.0
npm run release:major # Breaking changes: 1.0.1 → 2.0.0
Option 2: GitHub Actions UI
Option 3: Manual Tag Creation
git tag v1.0.2
git push origin v1.0.2 # Triggers automatic release
When you run a release command or push a tag:
manifest.json
and package.json
Type | Example | When to Use |
---|---|---|
Patch | 1.0.1 → 1.0.2 | Bug fixes, documentation updates |
Minor | 1.0.1 → 1.1.0 | New features, improvements |
Major | 1.0.1 → 2.0.0 | Breaking changes, major redesigns |
Before creating a release:
# Install GitHub CLI from: https://cli.github.com/
gh auth login
git status # Should show "working tree clean"
git checkout main
git pull origin main
npm test
npm run validate
npm run release # Default: patch release
npm run release:patch # Automated patch release
npm run release:minor # Automated minor release
npm run release:major # Automated major release
npm run build # Build extension
npm run build:clean # Build and clean up
npm run prepare-release # Validate + build
npm run validate # Validate files only
npm run version:check # Check version sync
npm run version:sync # Sync package.json to manifest.json
npm run version:bump patch # Bump patch version
npm run tag:create # Create release from current version
npm run tag:push # Push tags to GitHub
Once the release is created:
vibe-stats-v1.0.2.zip
git status # Check what's uncommitted
git add .
git commit -m "Your changes"
gh --version # Check if installed
gh auth login # Authenticate
git checkout main
git pull origin main
npm run version:check # Check versions
npm run version:sync # Sync versions
npm run validate # Check files
rm -rf build dist # Clean directories
npm run build # Rebuild
If automated releases don’t work:
Edit manifest.json
and package.json
:
{
"version": "1.0.2"
}
npm run build:clean
git add manifest.json package.json
git commit -m "Bump version to 1.0.2"
git push origin main
git tag v1.0.2
git push origin v1.0.2
This triggers the GitHub Actions workflow to create the release automatically.
gh release create v1.0.2 \
dist/vibe-stats-v1.0.2.zip \
manifest.json \
--title "Vibe Stats v1.0.2" \
--generate-notes \
--latest
Before release:
npm test
npm run validate
git status
git branch
git pull
After release:
Task | Command |
---|---|
Patch release | npm run release:patch |
Minor release | npm run release:minor |
Major release | npm run release:major |
Build only | npm run build:clean |
Validate only | npm run validate |
Check version | npm run version:check |
Test extension | npm test |
git push origin v1.0.2
)🤖 Generated with Claude Code