Replace cargo-dist with simplified release workflow#263
Merged
Conversation
rubberduck203
approved these changes
Jan 28, 2026
- Remove cargo-dist and cargo-release dependencies - Add single workflow that merges main→release, bumps version, builds, releases - Version format: YYYY.MM.DD.HHmm - Main branch stays at 0.0.0-dev - Builds for: aarch64-apple-darwin, x86_64-linux-gnu, x86_64-linux-musl, aarch64-linux-gnu - Use default GITHUB_TOKEN instead of app token
867b809 to
5ae0ffa
Compare
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.
Might be easier to look at the new GHA by itself: https://github.com/Gusto/scope/blob/867b809cdae95c4025d59e405316534f730ba1f1/.github/workflows/release.yml
The last release, for reference: https://github.com/Gusto/scope/releases/tag/v2026.1.12
Summary
Replaces cargo-dist and cargo-release with a streamlined release workflow:
mainmerges into areleasebranch, bumps the version toYYYY.MM.DD.HHmm, tags, and buildscrossfor Linux targets, native cargo for macOS ARM64Design Decisions
0.0.0-devon main: Main branch always shows development version; release branch carries real versionsGITHUB_TOKENsuffices since we only push toreleasebranch, notmainSetup Required
After merging, create the release branch once:
Assisted-by: Claude