From ef8b7b5e25d1b38b8ec72d754d6794c9e782579b Mon Sep 17 00:00:00 2001 From: Dan Bond Date: Tue, 10 Dec 2019 17:24:15 +0000 Subject: [PATCH] dist.sh: use sha256sum (#325) * dist.sh: use sha256sum * update CHANGELOG --- CHANGELOG.md | 1 + dist.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1fb216a..cd2846b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/dist.sh b/dist.sh index 583475c9..c161ac32 100755 --- a/dist.sh +++ b/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}