mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

[question] Publish also .deb for releases? #165

Open apiraino opened 3 years ago

apiraino commented 3 years ago

Hi!

I know that packaging is not developer's work, but have you considered (and perhaps already discarded) publishing also a .deb for this project?

It's super useful for CI/CD but compiling it for every build with cargo install cargo-deb is a bit of a unnecessary burden.

(the alternate solution is vendoring cargo-deb and build my debs)

thanks!

kornelski commented 3 years ago

Yes, I think it's a good idea.

I haven't set up a process for building and releasing a binary. Do you have any suggestions how to automate it? e.g. are there GitHub Actions that could automatically add a deb to a GitHub release?

apiraino commented 3 years ago

happy that you like the idea!

are there GitHub Actions that could automatically add a deb to a GitHub release?

definitively yes, it can be done with github actions. If you want, I can submit a patch and give back a little to the project :-)

kornelski commented 3 years ago

Yes, please. That'd be very helpful.