Build, sign, and publish release binaries #82
Merged
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.
a.k.a. "Sign the
smimesign
" 😃This PR adds a workflow to build releases:
build
folder, to make things easier to understand and debug.build
folder is uploaded as artifacts on Actions, in one collectivebuild.zip
.smimesign@v0.0.13
and note that I've managed to keep fairly similar names and formats (e.g..tgz
for macOS).v
are automatically marked as releases, so the latest release will always show up on the side of https://github.com/github/smimesign (if your window is wide enough).-ldflags
for all builds. I've directly checked that this works, usingsmimesign --version
on amd64, the installer, and macOS.This PR does not add code signing for macOS, and doesn't add a build for Apple Silicon. We recommend using Homebrew to install
smimesign
on macOS, which works the same without signing and already builds for Apple Silicon.