scripts: calculate shasum

This commit is contained in:
Mitchell Hashimoto 2013-12-09 00:17:14 -08:00
parent 163947bc36
commit f3553a3e39
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,12 @@ if [ -z $BINTRAY_API_KEY ]; then
exit 1
fi
# Calculate the checksums
pushd ./dist
shasum -a256 * > ./${VERSION}_SHA256SUMS
popd
# Upload
for ARCHIVE in ./dist/*; do
ARCHIVE_NAME=$(basename ${ARCHIVE})