dist.sh: use sha256sum (#325)

* dist.sh: use sha256sum

* update CHANGELOG
This commit is contained in:
Dan Bond
2019-12-10 17:24:15 +00:00
committed by GitHub
parent 8165f6c483
commit ef8b7b5e25
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@
## Breaking Changes
## Changes since v4.1.0
- [#325](https://github.com/pusher/oauth2_proxy/pull/325) dist.sh: use sha256sum (@syscll)
# v4.1.0
+1 -1
View File
@@ -37,7 +37,7 @@ for ARCH in "${ARCHS[@]}"; do
cd release
# Create sha256sum for architecture specific binary
shasum -a 256 ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} > ${BINARY}-${VERSION}.${ARCH}-sha256sum.txt
sha256sum ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} > ${BINARY}-${VERSION}.${ARCH}-sha256sum.txt
# Create tar file for architecture specific binary
tar -czvf ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}.tar.gz ${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}