dist.sh: use sha256sum (#325)
* dist.sh: use sha256sum * update CHANGELOG
This commit is contained in:
parent
8165f6c483
commit
ef8b7b5e25
|
|
@ -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
|
||||
|
||||
|
|
|
|||
2
dist.sh
2
dist.sh
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue