Merge pull request #4044 from hashicorp/dist-update

Update scripts/dest.sh to create a sig file
This commit is contained in:
Clint 2015-11-24 16:28:02 -06:00
commit f59cbbe97d
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