Repository navigation
ops: release automation (cargo-release / brew tap / crates.io / Nix) - #109
Conversation
…/ brew tap / Nix) - Manual-dispatch release workflow: version bump, changelog, tag, multi-target build (linux/macos/windows × x86_64/aarch64), crates.io publish, homebrew-tap bump, flake.nix hash update. - flake.nix + flake.lock for Nix users (pure-Rust, no openssl/perl needed since reqwest uses rustls-tls and gix is native). - Formula/splashboard.rb template mirroring gitlogue's layout. - generate_changelog.sh (conventional commits → categorised CHANGELOG). - [package.metadata.binstall] so cargo-binstall matches the release asset naming. - README: document 4 install channels (cargo / brew / cargo-binstall / GH Releases). Closes #16. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 1 minutes and 54 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #109 +/- ##
=======================================
Coverage 77.01% 77.01%
=======================================
Files 92 92
Lines 15508 15508
=======================================
Hits 11943 11943
Misses 3565 3565 🚀 New features to boost your workflow:
|
ubuntu-20.04 was retired from GH-hosted runners in April 2025, so 22.04 (glibc 2.35) is the floor. Using cargo-zigbuild lets us pin the target's glibc version independently of the runner, producing binaries that run on CentOS 7 / Debian 10 era systems. Archive step is unchanged — cargo-zigbuild writes to `target/<base-triple>/release/` regardless of the dotted glibc suffix, so the matrix.target-keyed paths still resolve. Drops the separate ubuntu-22.04-arm runner for aarch64 — zigbuild cross-compiles from the x86_64 runner. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
URLs and SHAs are placeholders — the splashboard release workflow fills them in on each tag push (see unhappychoice/splashboard#109). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
The one-liner is the lowest-friction path (no toolchain, no tap setup, just one curl), so it should be the headline. Everything else — cargo / brew / binstall / nix — moves into a collapsed "Other install methods" section. Nix support is now first-class (flake.nix added in #109), so surface it in the list. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Closes #16. Follows the same pattern as
../gitlogue(manual-dispatch workflow, conventional-commit changelog, homebrew-tap bump, flake hash update) and adds Nix support as a fifth install surface.Summary
.github/workflows/release.yml— manual-dispatch, version bump → tag → multi-target build → GH Release → crates.io publish → homebrew-tap bump → flake.nix hash update.flake.nix+flake.lock— Nix package (defaultpinned to release tag,unstablefrom tree) + devShell. Noopenssl/perlinnativeBuildInputsbecause splashboard's networking goes throughrustls-tlsandgixis pure-Rust.Formula/splashboard.rb— Homebrew formula template; the workflow ports updated URL+sha intounhappychoice/homebrew-tap.generate_changelog.sh— conventional-commit → categorised CHANGELOG (adapted to handlessh://[email protected]/...origin URL).Cargo.toml—[package.metadata.binstall]socargo binstall splashboardmatches thesplashboard-v{ver}-{target}.tgz|zipasset naming.Verification required after merge
unhappychoice/homebrew-taprepo withFormula/splashboard.rb(seed from this branch's copy) and addHOMEBREW_TAP_TOKEN+CARGO_REGISTRY_TOKENsecrets.v0.x.ytag to exist so the flake-hash-update step can prefetch it; workflow handles this by tagging before running nix prefetch.Test plan
Manual Releaseworkflow on main withpatchonce the tap repo + secrets exist.cargo install splashboardresolves the new crates.io version.brew install unhappychoice/tap/splashboardpicks up the updated formula.nix run github:unhappychoice/splashboardsucceeds after the hash-update commit lands.🤖 Generated with Claude Code