diff --git a/Makefile b/Makefile index 58166a3a..c6fca9ae 100644 --- a/Makefile +++ b/Makefile @@ -52,9 +52,9 @@ release: shasum -a 256 release/*.tar.gz release/*.zip > release/terraform-provider-alks_v$(TRAVIS_TAG)_SHA256SUMS - # echo "$GPG_KEY" | base64 --decode --ignore-garbage | gpg --batch --allow-secret-key-import --import + echo $(GPG_KEY) | base64 --decode | gpg --batch --no-tty --yes --import - # @gpg --batch -c --passphrase $(GPG_PASSPHRASE) -u C182B91A3A62B0D5 --detach-sign release/terraform-provider-alks_v$(TRAVIS_TAG)_SHA256SUMS + @gpg --pinentry-mode loopback --passphrase $(GPG_PASSPHRASE) -u C182B91A3A62B0D5 --detach-sign release/terraform-provider-alks_v$(TRAVIS_TAG)_SHA256SUMS rm release/terraform-provider-alks_v$(TRAVIS_TAG).exe