Autopublish assets to the github release section with cargo publish

Is there any way I can automatically bundle the compiled binary with the current version number as a git tag to github when I do cargo publish like stuff? Like qol thing?

9 points · 2 comments · view on lemmy.world

2 Comments

beeb@lemm.ee · 4 pts · 1y

Cargo dist! Here's a nice workflow you can use : https://blog.orhun.dev/automated-rust-releases/

hunger@programming.dev · 2 pts · 1y

I use cargo-dist to generate the binaries.