Skip to content

Commit

Permalink
Merge pull request filecoin-project#2866 from filecoin-project/fix/sh…
Browse files Browse the repository at this point in the history
…a512-sum-release-bundle

release: write full sha512sum output to file
  • Loading branch information
magik6k authored Aug 6, 2020
2 parents 6c502c4 + 429f119 commit 621bc3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 621bc3a

Please sign in to comment.