gpg needs GPG_TTY env var set.

This commit is contained in:
Darko Poljak 2016-07-15 22:21:07 +02:00
parent c9f825d7ef
commit 12faca578f
2 changed files with 2 additions and 0 deletions

View file

@ -170,6 +170,7 @@ eof
# gpg --verify <asc-file> <file>
# gpg --no-default-keyring --keyring <pubkey.gpg> --verify <asc-file> <file>
# Ensure gpg-agent is running.
export GPG_TTY=$(tty)
gpg-agent
git tag -s "$target_version" -m "$tagmessage"

View file

@ -205,6 +205,7 @@ eof
# gpg --verify <asc-file> <file>
# gpg --no-default-keyring --keyring <pubkey.gpg> --verify <asc-file> <file>
# Ensure gpg-agent is running.
export GPG_TTY=$(tty)
gpg-agent
git tag -s "$target_version" -m "$tagmessage"