riverqueue / riverui

A web interface for River, fast and reliable background jobs in Go.
https://ui.riverqueue.com/
Mozilla Public License 2.0
43 stars 3 forks source link

Add job to CI that cuts release and uploads a variety of binaries #39

Closed brandur closed 1 week ago

brandur commented 1 week ago

Add a release CI job that upon detection of new tag, builds binaries for Darwin / Linux operating systems and amd64 / arm64 architectures and cuts a GitHub release with them.

We only both with two operating systems and two architectures because in practice, that's what 99.9% of people will be using at this point.

Most of the release job still runs even when not building a tag just so it gets more regular exercise and is easier for us to iterate on when we need to make changes to it.

brandur commented 1 week ago

Alright, I think I pretty much have this working, although I may need to bring in some fixes after trying a test run with a real tag.