update scripts/dest.sh to create a sig file
This commit is contained in:
parent
bd23ab35bf
commit
642e2e9433
|
@ -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