一键导入
github-release-workflow
Guide for triggering the Codelane GitHub Actions release workflow. Use this after bumping the version to create and publish a release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for triggering the Codelane GitHub Actions release workflow. Use this after bumping the version to create and publish a release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | github-release-workflow |
| description | Guide for triggering the Codelane GitHub Actions release workflow. Use this after bumping the version to create and publish a release. |
This skill provides instructions for triggering the automated GitHub Actions release workflow for Codelane.
Before triggering a release, ensure:
Version is bumped across all three files:
Cargo.tomlpackage.jsonsrc-tauri/tauri.conf.jsonAll three files must have the same version number.
Changelog exists at changelogs/vX.Y.Z.md
changelogs/v0.2.7.mdAll changes are committed and pushed to main branch
Git tag exists in the format vX.Y.Z
v0.2.7src-tauri/tauri.conf.jsonThe Release App workflow at .github/workflows/release.yml:
cd frontend && pnpm testcd src-tauri && cargo testcd frontend && pnpm buildsrc-tauri/tauri.conf.json versionchangelogs/{TAG}.mdThe workflow will automatically detect the version from src-tauri/tauri.conf.json:
If you need to specify a custom tag name:
v0.2.7)The workflow compiles for these platforms:
aarch64-apple-darwinx86_64-apple-darwinThe workflow reads the changelog from changelogs/{TAG}.md and uses it as the GitHub release body.
Example changelog format:
### Features
- New AI agent system for parallel development
- Enhanced terminal with scrolling support
### Improvements
- Faster app startup time
- Better error messages
### Bug Fixes
- Fixed terminal process leak
- Resolved race conditions in lane switching
The release will include:
changelogs/vX.Y.Z.md existsv0.2.7 requires changelogs/v0.2.7.md)The workflow uses these GitHub secrets for signing and deployment:
TAURI_PRIVATE_KEY - App signing key (for auto-updater)TAURI_KEY_PASSWORD - Password for signing keyAPPLE_CERTIFICATE - macOS signing certificateAPPLE_CERTIFICATE_PASSWORD - macOS certificate passwordAPPLE_ID, APPLE_PASSWORD, APPLE_TEAM_ID - Apple developer credentialsGITHUB_TOKEN - Automatically provided by GitHub (for releases)If any of these secrets are missing or incorrect, the build will fail for that platform.
# 1. Verify current version
grep 'version = "' Cargo.toml | head -1
# 2. Update version in all three files (example: 0.2.6 → 0.2.7)
sed -i '' 's/version = "0.2.6"/version = "0.2.7"/g' Cargo.toml
sed -i '' 's/"version": "0.2.6"/"version": "0.2.7"/g' package.json
sed -i '' 's/"version": "0.2.6"/"version": "0.2.7"/g' src-tauri/tauri.conf.json
# 3. Create changelog at changelogs/v0.2.7.md
# 4. Verify all versions match
grep 'version = "0.2.7"' Cargo.toml
grep '"version": "0.2.7"' package.json
grep '"version": "0.2.7"' src-tauri/tauri.conf.json
# 5. Commit changes
git add .
git commit -m "chore(release): bump version to 0.2.7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"
# 6. Create and push tag
git tag -a v0.2.7 -m "Release version 0.2.7"
git push origin main
git push origin v0.2.7
# 7. Verify tag exists
git tag -l v0.2.7
# 8. Go to GitHub Actions and manually trigger "Release App" workflow
.github/workflows/release.ymlCargo.toml, package.json, src-tauri/tauri.conf.jsonchangelogs/