cargo-edit icon indicating copy to clipboard operation
cargo-edit copied to clipboard

Binary builds for each release?

Open sfackler opened this issue 1 year ago • 2 comments

I'm looking to use cargo-edit in some internal automation tooling to bump versions, cut releases, etc. For that kind of workflow, a cargo install is a bit more awkward than it is when installing a tool for personal use. Ideally, we'd just be able to pull down a tarball with precompiled x86_64-unknown-linux-musl binaries.

Do you have any interest in supporting that? I can look into making the GHA changes if so!

sfackler avatar Jul 22 '22 14:07 sfackler

cargo-quickinstall and cargo-binstall CLIs offer installing prebuilt cargo-edit binaries from the QuickInstall package distribution.

CAD97 avatar Jul 26 '22 05:07 CAD97

Would be nice to be able to do gh release download -R killercup/cargo-edit -p x86_64-unknown-linux https://cli.github.com/manual/gh_release_download to get the compiled binary.

I think https://github.com/killercup/cargo-edit/blob/master/.github/workflows/post-release.yml needs an update. actions/create-release isn't maintained anymore :?. https://github.com/softprops/action-gh-release looks like a good replacement

kaleidawave avatar Oct 22 '22 11:10 kaleidawave