forgejo-release.sh: gpg-agent is also required for signing releases.

This commit is contained in:
Jack Greiner 2025-10-09 17:06:10 -04:00
parent fc4e870d23
commit 603d197551
No known key found for this signature in database
GPG key ID: F34343A8F6B33E1E

View file

@ -173,7 +173,7 @@ maybe_use_release_note_assistant() {
} }
sign_release() { sign_release() {
check_dependencies gpg check_dependencies gpg gpg-agent
passphrase="" passphrase=""
if [ -s "$GPG_PASSPHRASE" ]; then if [ -s "$GPG_PASSPHRASE" ]; then
passphrase="--passphrase-file $GPG_PASSPHRASE" passphrase="--passphrase-file $GPG_PASSPHRASE"