release-tag
Use when the user asks to create a cbranch release tag, bump the desktop version, publish a release, or generate release notes.
- License 许可
- MIT
- 最近更新
- 2026-08-31
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- release-tag
- description
- Use when the user asks to create a cbranch release tag, bump the desktop version, publish a release, or generate release notes.
03 SKILL.md 正文
Release Tag
Prepare and publish a cbranch desktop release. Stable releases are published by
.github/workflows/release.yml after all Windows, macOS, and Ubuntu bundles pass.
Rules
- Never create or push a tag, commit, or release without explicit user approval.
- Never call
gh release createfor a stable cbranch release. The tag workflow creates the release only after every platform artifact succeeds. - Use annotated tags named
vMAJOR.MINOR.PATCH. - Do not enable Tauri updater publishing, platform code signing, or notarization unless the user explicitly provides the associated credentials and policy.
1. Determine The Version
- Read the current desktop version from
apps/tauri/package.jsonand the latestv*tag. - Default to a patch bump unless the user requests major or minor.
- State the proposed version and wait for approval before editing files.
2. Draft Release Notes
- Collect non-merge commits since the previous stable tag.
- Categorize conventional commits:
feat-> Featuresfix-> Bug fixesrefactor-> Refactorsbuild,chore,ci,docs,perf,style,test-> Maintenance
- Attribute each entry to its GitHub author when available:
- Resolve PR authors with
gh pr view. - Otherwise query the commit author through
gh api. - Fall back to the Git author name.
- Resolve PR authors with
- Show the complete notes in a Markdown code block and wait for approval.
3. Update Version Sources
Set the approved MAJOR.MINOR.PATCH value consistently in:
apps/tauri/package.jsonapps/tauri/src-tauri/tauri.conf.jsonapps/tauri/src-tauri/Cargo.tomlapps/tauri/src-tauri/Cargo.lockfor thecbranch-desktoppackagepackages/rpc-contract/src/schemas/system.ts(CBRANCH_BACKEND_VERSION)
Prepend the approved notes as a ## vMAJOR.MINOR.PATCH section in
CHANGELOG.md. The release workflow extracts that exact section for GitHub.
Then verify from the repository root:
RELEASE_TAG=vMAJOR.MINOR.PATCH pnpm release:check
node scripts/extract-release-notes.mjs vMAJOR.MINOR.PATCH
pnpm gate
Commit the approved version and release notes using:
chore(release): prepare vMAJOR.MINOR.PATCH
4. Tag And Publish
After the user approves the commit and tag:
git tag -a vMAJOR.MINOR.PATCH -m "vMAJOR.MINOR.PATCH"
git push origin <branch>
git push origin vMAJOR.MINOR.PATCH
Watch the Release desktop clients workflow. It must produce Windows x64 NSIS,
macOS Apple Silicon DMG, macOS Intel DMG, Ubuntu DEB, Ubuntu AppImage, and
SHA256SUMS.txt. Report the GitHub Release URL after the workflow succeeds.
04 同仓库更多 Skills
ncu
Use this skill when the user asks you to update outdated dependencies.
do-commits
Commit changes in thematic groups with short messages that follow the repo's semantic conventions.
ncu
Use this skill when the user asks you to update outdated dependencies.
do-commits
Commit changes in thematic groups with short messages that follow the repo's semantic conventions.
bro
Restate the last message in plain human language, with no jargon.