From d142640d853d8885117eea6cb7688abdddf43f1f Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Thu, 22 Oct 2015 12:18:43 -0400 Subject: [PATCH] Fix SHASUM file name --- scripts/bintray_upload.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/bintray_upload.sh b/scripts/bintray_upload.sh index 030d56300..83a30e4e2 100755 --- a/scripts/bintray_upload.sh +++ b/scripts/bintray_upload.sh @@ -22,9 +22,13 @@ if [ -z $BINTRAY_API_KEY ]; then exit 1 fi -# Calculate the checksums -pushd ./dist -shasum -a256 * > ./${VERSION}_SHA256SUMS +# Make the checksums +pushd ./pkg/dist +shasum -a256 * > ./vagrant_${VERSION}_SHA256SUMS +if [ -z $NOSIGN ]; then + echo "==> Signing..." + gpg --default-key 348FFC4C --detach-sig ./vagrant_${VERSION}_SHA256SUMS +fi popd # Upload