| name | release |
| description | Run the axiforge release workflow. Use when asked to produce either a beta or official release for this repo, including validation, versioning, packaging, GitHub release steps, and optional extended test suites. |
Release
This skill imports the existing repo workflow from .claude/commands/release.md.
Use it when the user wants a beta or official release for this repository.
Arguments
Parse the request for these tokens, case-insensitive:
beta
e2e
patch
minor
major
If no recognized token is present, ask the user which release path they want.
Shared Validation
- Ensure the working tree is clean.
- Run
npm test.
- If
e2e was requested, also run:
npm run test:e2e
npm run test:spa
Stop immediately on any failure.
Beta Path
- Stamp a temporary beta version into
package.json.
- Clean
dist/ and dist_out/.
- Run:
npm run build:site
npm run build:renderer
npx electron-builder --linux --win --publish never
- If Windows packaging fails because Wine is unavailable, retry Linux-only and report that.
- Restore
package.json.
- Create or replace the GitHub release for the stamped beta tag.
- Generate readable patch notes from recent commits.
- Publish the SPA build if the workflow requires the site artifacts to be updated.
- Post the release summary to Discord if
DISCORD_WEBHOOK_URL exists.
- Report artifact paths, release URL, SPA publish status, and Discord status.
Official Release Path
- Bump
package.json by patch, minor, or major.
- Update
package-lock.json.
- Generate release notes and prepend them to
RELEASE_NOTES.md.
- Clean and build artifacts.
- Commit versioning files, tag the release, and push with tags.
- Create the GitHub release and publish it.
- End by reporting
Release published: <release-url>.