Add release script for GitHub Actions #76
Draft
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.
I'll be testing this to verify, but it's probably 99% correct. Generates a Windows and Linux amd64 binary, puts it in a tarball, creates a sha256 sum and uploads those 4 items to the release downloads. Would require that the release notes are attached to the signed tag so it can be pulled from there to make the release notes in the GH release page.
Questions: do we want another binary for arm64 or anything else? It wouldn't be tested of course, and I guess the Windows one isn't being tested either. This could be simplified just to create and upload the amd64 Linux binary as well.
Signed-off-by: Phil Estes estesp@amazon.com