| name | release |
| description | Bump version, tag, and trigger release workflow |
Release Skill
Creates a new release by bumping versions, creating a tag, and triggering CI.
Information Needed
- Version bump type: patch, minor, or major
- patch: 0.1.0 → 0.1.1 (bug fixes)
- minor: 0.1.0 → 0.2.0 (new features)
- major: 0.1.0 → 1.0.0 (breaking changes)
Steps
- Get current version from package.json:
grep '"version"' package.json
-
Calculate new version based on bump type.
-
Update version in both files:
package.json
src-tauri/tauri.conf.json
-
Commit the version bump:
git add package.json src-tauri/tauri.conf.json
git commit -m "chore: bump version to X.X.X"
- Create git tag:
git tag vX.X.X
- Push with tags:
git push origin main --tags
- Report the release URL where GitHub Actions will create the draft.
What Happens Automatically
Once the tag is pushed, .github/workflows/release.yml will:
- Build for all platforms (macOS ARM/Intel, Windows, Linux)
- Create a draft release on GitHub
- Attach all binaries to the release
Example Output
Current version: 0.1.0-alpha.1
Bump type: patch
New version: 0.1.0-alpha.2
✓ Updated package.json
✓ Updated src-tauri/tauri.conf.json
✓ Committed: chore: bump version to 0.1.0-alpha.2
✓ Tagged: v0.1.0-alpha.2
✓ Pushed to main with tags
GitHub Actions is now building the release.
Draft will appear at: https://github.com/skeletor-js/skelenote/releases
Next steps:
1. Wait for builds to complete (~15-20 min)
2. Edit the draft release notes
3. Publish when ready
Version File Locations
package.json
{
"name": "skelenote",
"version": "0.1.0-alpha.1",
...
}
src-tauri/tauri.conf.json
{
"version": "0.1.0-alpha.1",
...
}
Pre-release Versions
For alpha/beta releases, include the suffix:
0.1.0-alpha.1 → 0.1.0-alpha.2
0.1.0-beta.3 → 0.1.0-beta.4
When ready for stable:
Prerequisites
- Must be on main branch
- Working directory must be clean (no uncommitted changes)
- CI tests should be passing
Notes
- Always run
/check before releasing
- Review changelog before publishing draft
- Binaries are unsigned in alpha (expect security warnings)
- Release notes can be edited on GitHub before publishing