| name | release-management |
| description | Semantic versioning, changelog generation, release tags, version bumping for Resource-Adda. Use when preparing releases, bumping versions, creating release branches, or generating changelogs. |
Release Management
When to Use
- Preparing production releases
- Bumping semantic versions
- Generating changelogs
- Creating GitHub releases
Procedure
Phase 1: Semantic Versioning
Format: MAJOR.MINOR.PATCH
- MAJOR: Breaking API changes
- MINOR: New features (backwards compatible)
- PATCH: Bug fixes only
pnpm version patch
pnpm version minor
pnpm version major
Phase 2: Release Process
- Create release branch:
git checkout -b release/v2.1.0
- Bump version:
pnpm version minor
- Run full test suite:
pnpm -C apps/vendor test -- --run
pnpm -C apps/resource test -- --run
pnpm -C apps/scheduling test -- --run
pnpm -C apps/budget test -- --run
- Build:
pnpm build
- Generate changelog from conventional commits
- Create PR to
main
Phase 3: GitHub Release
git tag -a v2.1.0 -m "Release v2.1.0"
git push origin v2.1.0
gh release create v2.1.0 --title "v2.1.0" --notes-file CHANGELOG.md
Phase 4: Post-Release
- Merge
main back to develop
- Bump to next pre-release:
pnpm version prepatch
- Push tags:
git push origin main --tags
- Monitor error tracking for regressions
Quick Reference
pnpm version minor
git tag -a v2.1.0 -m "Release"
gh release create v2.1.0
git tag --list
Common Issues
| Issue | Solution |
|---|
| Version already tagged | git tag -d v2.1.0 && git push -d origin v2.1.0 |
| Changelog missing commits | Verify commits follow feat:, fix: format |
| Version mismatch | Re-sync tag with package.json version |