Skip to content

Add cargo-dist for automated binary distribution#33

Open
martinemde wants to merge 1 commit intomainfrom
cargo-dist-enhanced
Open

Add cargo-dist for automated binary distribution#33
martinemde wants to merge 1 commit intomainfrom
cargo-dist-enhanced

Conversation

@martinemde
Copy link
Contributor

Configure cross-platform release builds using cargo-dist:

  • Target x86_64/aarch64 for Linux and macOS
  • Generate shell and PowerShell installers
  • Enable GitHub attestations for build provenance
  • Separate release workflow from CI checks

The new release.yml workflow handles:

  • Planning release artifacts
  • Building per-platform binaries
  • Generating global artifacts (installers)
  • Publishing to GitHub Releases on tag push

This replaces the previous manual release workflow in ci.yml.

Configure cross-platform release builds targeting x86_64/aarch64 for
Linux and macOS, with shell and PowerShell installers. GitHub Actions
workflow will trigger on version tags.
@martinemde martinemde force-pushed the cargo-dist-enhanced branch from c272b5c to f0e8779 Compare January 9, 2026 00:31
@dduugg dduugg requested a review from a team March 5, 2026 17:53
Copy link
Contributor

@dduugg dduugg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid improvement over the manual workflow. cargo-dist is the right tool for this.

One thing worth calling out: this PR removes the step from the old workflow without mentioning it. Is dropping DotSlash support intentional? If any consumers rely on DotSlash files from releases, they'd silently break after the next release.

dduugg
dduugg approved these changes Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

2 participants