This PR adds a new archive-sums target to the Go package. This target generates an <archive filename>.sha256 file next to each archive, as well as a sums.sha256 (containing sums for all archives), using a format suitable for verifying with sha256sum -c, e.g.:
The sum itself is calculated using openssl, because it is more widely available than sha256sum - it's installed by default on both macOS and GitHub Actions runners. On macOS sha256sum needs to be installed via brew install coreutils or similar.
The intent here is to make it easier to publish these sums in places like GitHub releases, for later use in Homebrew taps.
This PR adds a new
archive-sums
target to the Go package. This target generates an<archive filename>.sha256
file next to each archive, as well as asums.sha256
(containing sums for all archives), using a format suitable for verifying withsha256sum -c
, e.g.:The sum itself is calculated using
openssl
, because it is more widely available thansha256sum
- it's installed by default on both macOS and GitHub Actions runners. On macOSsha256sum
needs to be installed viabrew install coreutils
or similar.The intent here is to make it easier to publish these sums in places like GitHub releases, for later use in Homebrew taps.