From 429f119dbb09edd8ddd32ba5f33e6773a5b72eac Mon Sep 17 00:00:00 2001 From: Travis Person Date: Thu, 6 Aug 2020 16:01:30 +0000 Subject: [PATCH] release: write full sha512sum output to file With the full output written to the file, users can verify the tar.gz integrity with `sha512sum -c .tar.gz.sha512`. --- scripts/build-bundle.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-bundle.sh b/scripts/build-bundle.sh index 16cab49d1..d4837dd30 100755 --- a/scripts/build-bundle.sh +++ b/scripts/build-bundle.sh @@ -45,8 +45,8 @@ do popd rm -rf "${ARCH}" - sha512sum "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz" | cut -d" " -f1 > "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz.sha512" + sha512sum "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz" > "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz.sha512" - ipfs add "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz" | cut -d" " -f2 > "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz.cid" + ipfs add -q "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz" > "lotus_${CIRCLE_TAG}_${ARCH}-amd64.tar.gz.cid" done popd