Loading...
Loading...
Version release workflow. Use when the user mentions 'release', 'hotfix', 'version upgrade', 'weekly release', or '发版'/'发布'/'小班车'. Provides guides for Minor Release and Patch Release workflows.
npx skill4agent add lobehub/lobehub version-releaseauto-tag-release.yml| Type | Use Case | Frequency | Source Branch | PR Title Format | Version |
|---|---|---|---|---|---|
| Minor | Feature iteration release | ~Every 4 weeks | canary | | Manually set |
| Patch | Weekly release / hotfix / model / DB migration | ~Weekly or as needed | canary or main | Custom (e.g. | Auto patch +1 |
git checkout canary
git pull origin canary
git checkout -b release/v{version}
git push -u origin release/v{version}package.jsongh pr create \
--title "🚀 release: v{version}" \
--base main \
--head release/v{version} \
--body "## 📦 Release v{version} ..."[!IMPORTANT]: The PR title must strictly match theformat. CI uses a regex on this title to determine the exact version number.🚀 release: v{x.y.z}
bun run release:branch # Interactive
bun run release:branch --minor # Directly specify minor| Scenario | Source Branch | Branch Naming | Description |
|---|---|---|---|
| Weekly Release | canary | | Weekly release train, canary → main |
| Bug Hotfix | main | | Emergency bug fix |
| New Model Launch | canary | Community PR merged directly | New model launch, triggered by PR title prefix |
| DB Schema Migration | canary | | Database migration, requires dedicated changelog |
reference/patch-release-scenarios.mdbun run hotfix:branch # Hotfix scenario🚀 release: v{x.y.z}hotfix/*release/*style💄 stylefeat✨ featfix🐛 fixrefactor♻️ refactorhotfix🐛 hotfix🩹 hotfixbuild👷 builddocschorecitest🔖 chore(release): release version v{x.y.z} [skip ci]v{x.y.z}package.jsonrelease/v{version}🚀 release: v{version}reference/patch-release-scenarios.mdrelease/weekly-{YYYYMMDD}git log main..canary🚀 release: 20260222hotfix/🐛 fix: ...featstylerelease/db-migration-{name}git log main..canary --onelinegit diff main...canary --statreference/changelog-example/weekly-release.mdreference/changelog-example/db-migration.md**bold**git log