Create a new release for Trebuchet:
Pre-Release Checks
- •
Check for uncommitted changes:
bashcd /Users/bri/dev/Trebuchet && git status --short
If there are uncommitted changes, ask the user if they want to proceed.
- •
Show current version:
bashcd /Users/bri/dev/Trebuchet && git describe --tags --abbrev=0 2>/dev/null || echo "No tags yet"
- •
Show recent commits:
bashcd /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.0NOTv0.4.0
- •Format: MAJOR.MINOR.PATCH (e.g.,
- •
Validate the version format matches
\d+\.\d+\.\d+ - •
Ask the user: "What's the release message?"
- •
Create the annotated tag:
bashcd /Users/bri/dev/Trebuchet && git tag -a VERSION -m "MESSAGE"
- •
Confirm with user before pushing
- •
Push the tag:
bashcd /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