Create a new release: commit any changes, bump version in all files, create tag, push everything.
Automates release process by committing changes, bumping version, tagging, and pushing.
/plugin marketplace add foolishimp/ai_sdlc_method/plugin install aisdlc-methodology@aisdlcCreate a new release: commit any changes, bump version in all files, create tag, push everything.
<!-- Implements: REQ-TOOL-003 (Workflow Commands) --> <!-- Implements: REQ-TOOL-005 (Release Management) -->Usage: /aisdlc-release or /aisdlc-release "optional commit message"
/aisdlc-commit)# Check for uncommitted changes
git status --short
If changes exist:
git add -A && git commit -m "{message}"If no changes:
# Get current version from git tag
CURRENT_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")
# Bump patch version
# v0.5.2 ā v0.5.3
IMPORTANT: Update version in these files before tagging:
plugin.json: Update "version": "X.Y.Z" field
aisdlc-methodology/.claude-plugin/plugin.jsonstages_config.yml: Update both version references
aisdlc-methodology/config/stages_config.yml# Version: X.Y.Zversion: "X.Y.Z"# Commit version bump
git add -A
git commit -m "chore: Bump version to vX.Y.Z"
# Get commits since last tag
git log $CURRENT_VERSION..HEAD --pretty=format:"- %s" --no-merges
# Create annotated tag
git tag -a "$NEW_VERSION" -m "Release $NEW_VERSION
Changes:
{changelog}
š¤ Generated with [Claude Code](https://claude.com/claude-code)"
# Push everything
git push origin main
git push origin $NEW_VERSION
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Release Complete ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¦ Previous: {old_version}
š Released: {new_version}
š Changes:
- commit 1
- commit 2
- commit 3
ā
Files Updated:
- plugin.json
- stages_config.yml
ā
Pushed: commits + tag
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Optional: Create GitHub release
gh release create {new_version} --generate-notes
> /aisdlc-release
š¦ Current Version: v0.5.2
š Uncommitted changes:
M commands/aisdlc-help.md
Commit message:
āāāāāāāāāāāāāāāāāāāāāāāāā
fix: Update help references
š¤ Generated with Claude Code
āāāāāāāāāāāāāāāāāāāāāāāāā
Proceed with release? [Y/n] y
ā
Committed: a1b2c3d
š Bumping version: v0.5.2 ā v0.5.3
Updated: plugin.json
Updated: stages_config.yml
ā
Committed: d4e5f6g (chore: Bump version to v0.5.3)
š·ļø Tagged: v0.5.3
š¤ Pushed: commits + tag
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Release Complete ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Default: patch bump (x.y.z ā x.y.z+1)
For major/minor bumps, specify manually:
/aisdlc-release --minor # x.y.z ā x.y+1.0
/aisdlc-release --major # x.y.z ā x+1.0.0
Note: This bumps version in plugin.json and stages_config.yml, then tags. All version sources stay in sync.