ci: add release flow modeled on git-workflow - #3
Merged
Conversation
Add a release flow in the same style as the git-workflow repo, adapted to rep (single binary, no crates.io publish): - /release skill: bump Cargo.toml, run rep:verify, commit, tag vX.X.X, create the GitHub release. - .github/workflows/release.yml: on a v* tag, verify the tag matches the Cargo.toml version, build binaries for macOS/Linux/Windows (x64+ARM64), and attach them plus install.sh to the GitHub release. - .github/workflows/ci.yml: test/fmt/clippy/build/lockfile on push and PR. - install.sh: platform-detecting installer for the prebuilt binaries. - README install section; CLAUDE.md release section + write-exception note; tasks.md release pointer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a release flow in the same style as the git-workflow repo, adapted to
rep.What's included
/releaseskill (.claude/skills/release/SKILL.md) — bumpCargo.toml, runmise run rep:verify, commitchore: release vX.X.X, tag, and create the GitHub release..github/workflows/release.yml— on av*tag: verify the tag matches theCargo.tomlversion, build binaries for 5 targets (macOS Intel/ARM, Linux x64/ARM64, Windows x64), and attach them +install.shto the GitHub release (softprops/action-gh-release)..github/workflows/ci.yml— test (3 OSes) / fmt / clippy / build / lockfile on push & PR tomain.install.sh— platform-detecting installer for the prebuilt binaries.Differences from git-workflow's flow
rep) instead of two — packaging and install.sh adjusted.CARGO_REGISTRY_TOKENneeded; the GitHub-release job depends only on the build job, so releases never hinge on a publish step.verify-versionjob that gates the build.Notes for the maintainer
mise run rep:verifyis green locally (38 tests). The workflows themselves run on GitHub once merged.🤖 Generated with Claude Code