Release Skill
Use this skill when the user says "cut a release", "release", "cut a new release", "publish a release", or similar.
What This Skill Does
Automates the full release process for aTerm:
- •Builds the Tauri app (signed and notarized)
- •Creates DMG
- •Generates changelog from commits since last release
- •Creates GitHub release with the DMG attached
Instructions
When the user asks to cut a release:
- •
Run the release script:
bash./scripts/release.sh
- •
If the script says "Release vX.Y.Z already exists", automatically:
- •Bump the patch version (e.g., 0.1.8 → 0.1.9) in both:
- •
src-tauri/tauri.conf.json - •
src-tauri/Cargo.toml
- •
- •Commit with
chore: bump version to X.Y.Z - •Re-run
./scripts/release.sh - •Do NOT stop or ask the user - just handle it automatically
- •Bump the patch version (e.g., 0.1.8 → 0.1.9) in both:
- •
If the script fails for other reasons, you can manually:
- •Build:
npm run tauri build - •Create release:
gh release create v{VERSION} --title "aTerm v{VERSION}" --generate-notes src-tauri/target/release/bundle/dmg/aTerm_{VERSION}_aarch64.dmg
- •Build:
Requirements
- •Apple signing credentials in
src-tauri/.env.local - •
ghCLI authenticated - •Version already bumped in config files
Example
User: "cut a new release" Action:
- •Run
./scripts/release.sh - •If "already exists" error, bump version, commit, and re-run
- •Report the release URL when done