talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia.watch
MIT License
128 stars 62 forks source link

CI: add release workflow for building binaries #260

Open daywalker90 opened 2 weeks ago

daywalker90 commented 2 weeks ago

This PR adds a workflow to create a release with release binaries.

It cross compiles for:

using cross and only requires glibc >= 2.31.

I packaged teosd and teos-cli together while watchtower-client is in an extra archive.

For better cross compatibility i removed the dependency to the system specific openssl and replaced it with rustls-tls.

For this job to trigger you have to push an annotated tag. It will only trigger on tags that represent final releases.

This project does not have a CHANGELOG.md so i commented in two methods on how to provide the content body for the release:

You can of course also just edit the release body manually on the website but then it won't show in the notification email that is send to users.