Merge pull request #4044 from hashicorp/dist-update
Update scripts/dest.sh to create a sig file
This commit is contained in:
commit
f59cbbe97d
|
@ -31,8 +31,11 @@ for FILENAME in $(find ./pkg -mindepth 1 -maxdepth 1 -type f); do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Make the checksums
|
# Make the checksums
|
||||||
|
echo "==> Signing..."
|
||||||
pushd ./pkg/dist
|
pushd ./pkg/dist
|
||||||
|
rm -f ./terraform_${VERSION}_SHA256SUMS*
|
||||||
shasum -a256 * > ./terraform_${VERSION}_SHA256SUMS
|
shasum -a256 * > ./terraform_${VERSION}_SHA256SUMS
|
||||||
|
gpg --default-key 348FFC4C --detach-sig ./terraform_${VERSION}_SHA256SUMS
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Upload
|
# Upload
|
||||||
|
|
Loading…
Reference in New Issue