update scripts/dest.sh to create a sig file

This commit is contained in:
clint shryock 2015-11-24 09:21:41 -06:00
parent bd23ab35bf
commit 642e2e9433
1 changed files with 3 additions and 0 deletions

View File

@ -31,8 +31,11 @@ for FILENAME in $(find ./pkg -mindepth 1 -maxdepth 1 -type f); do
done
# Make the checksums
echo "==> Signing..."
pushd ./pkg/dist
rm -f ./terraform_${VERSION}_SHA256SUMS*
shasum -a256 * > ./terraform_${VERSION}_SHA256SUMS
gpg --default-key 348FFC4C --detach-sig ./terraform_${VERSION}_SHA256SUMS
popd
# Upload