build: add goreleaser action for streamlined releases #171
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello, I would like to make Gametime a better place by contributing the following code:
Feature/bug description
Add goreleaser for creating GitHub releases with cross-platform binaries upon tagging the repo.
This is how I decided to implement/fix it
I added Goreleaser to the project. It is a tool that automates the process of releasing Go binaries. It creates GitHub releases with cross-platform binaries upon tagging the repo.
I chose this over Google's slightly more automated release-please-action because this repo doesn't strictly conform to Conventional Commits, so I'm not sure what would happen exactly with semantic version bumps and changelogs.
This supports the following OSes:
... and will build binaries for various architectures.
What does this change affect? (What can this break?)
It affects strictly the build process, so nothing in particular should break (current build artifacts are opinionated).
How has this been tested
It hasn't.
Observability
Before opening a PR consider whether you have added sufficient observability, do you need to add any datadog additional metrics or spans?
How will this change be monitored