talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia-labs.github.io/talaia.watch/
MIT License
136 stars 63 forks source link

CI: add release workflow for building binaries #260

Open daywalker90 opened 5 months ago

daywalker90 commented 5 months 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.