.agents/skills/version-release/reference/patch-release-scenarios.md
All Patch Release scenarios automatically bump the patch version (e.g. 2.1.31 → 2.1.32). PR titles do not need to include a version number.
The most common release type. Collects a week's worth of changes from canary and ships them to main.
git checkout canary
git pull origin canary
git checkout -b release/weekly-{YYYYMMDD}
git push -u origin release/weekly-{YYYYMMDD}
git log main..canary --oneline
git diff main...canary --stat
Write a user-facing changelog following the format in patch-release-changelog-example.md.
gh pr create \
--title "🚀 release: {YYYYMMDD}" \
--base main \
--head release/weekly-{YYYYMMDD} \
--body-file changelog.md
release/* branch → auto patch +1.Emergency bug fix shipped directly from main.
git checkout main
git pull --rebase origin main
git checkout -b hotfix/v{version}-{short-hash}
git push -u origin hotfix/v{version}-{short-hash}
Create PR to main with a gitmoji prefix title (e.g. 🐛 fix: description)
After merge: auto-tag-release detects hotfix/* branch → auto patch +1.
bun run hotfix:branch
New AI model or provider support, typically contributed via community PRs.
✨ feat: add xxx model or 💄 style: support xxx modelsfeat / style) are in the auto-tag trigger listIf asked to add model support, just create a normal feature PR. The title prefix will trigger the release automatically.
Database schema changes that need to be released independently. These require a dedicated changelog explaining the migration for self-hosted users.
git checkout main
git pull --rebase origin main
git checkout -b release/db-migration-{name}
git cherry-pick <migration-commit-hash>
git push -u origin release/db-migration-{name}
Write a migration-specific changelog — See db-migration-changelog-example.md for the format. This should explain:
gh pr view <number> --json author --jq '.author.login' or git log commit author), never hardcode a usernameCreate PR to main with the migration changelog as the PR body
gh pr create \
--title "👷 build: {migration description}" \
--base main \
--head release/db-migration-{name} \
--body-file changelog.md
release/* branch → auto patch +1.