Skip to content

Add cargo-dist for automated binary distribution#33

Merged
joemsak merged 1 commit into
mainfrom
cargo-dist-enhanced
Jul 9, 2026
Merged

Add cargo-dist for automated binary distribution#33
joemsak merged 1 commit into
mainfrom
cargo-dist-enhanced

Conversation

@martinemde

Copy link
Copy Markdown
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

@dduugg dduugg left a comment

Copy link
Copy Markdown
Contributor

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
@joemsak
joemsak merged commit 2b4faf4 into main Jul 9, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Jul 9, 2026
@joemsak
joemsak deleted the cargo-dist-enhanced branch July 9, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants