| name | release |
| description | Create a new Trebuchet release tag following semantic versioning (without 'v' prefix) |
Create a new release for Trebuchet:
Pre-Release Checks
-
Check for uncommitted changes:
cd /Users/bri/dev/Trebuchet && git status --short
If there are uncommitted changes, ask the user if they want to proceed.
-
Show current version:
cd /Users/bri/dev/Trebuchet && git describe --tags --abbrev=0 2>/dev/null || echo "No tags yet"
-
Show recent commits:
cd /Users/bri/dev/Trebuchet && git log --oneline -10
Release Workflow
-
Ask the user: "What version number for this release?"
- Format: MAJOR.MINOR.PATCH (e.g.,
0.4.0)
- CRITICAL: NO 'v' prefix! Use
0.4.0 NOT v0.4.0
-
Validate the version format matches \d+\.\d+\.\d+
-
Ask the user: "What's the release message?"
-
Create the annotated tag:
cd /Users/bri/dev/Trebuchet && git tag -a VERSION -m "MESSAGE"
-
Confirm with user before pushing
-
Push the tag:
cd /Users/bri/dev/Trebuchet && git push origin VERSION
Version Guidelines
- MAJOR: Breaking API changes
- MINOR: New features, backwards compatible
- PATCH: Bug fixes, backwards compatible
Important Notes
- Trebuchet uses semantic versioning WITHOUT 'v' prefix
- Verify CHANGELOG.md is updated before releasing
- Ensure all tests pass before creating a release