Skip to content

Commit 89f776b

Browse files
authored
Refactor debsign command in release workflow
Updated debsign command to inline-sign .changes and .dsc files.
1 parent 0039a22 commit 89f776b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,10 @@ jobs:
108108
# Build unsigned source package (-us -uc)
109109
debuild -S -sa -d -us -uc
110110
111-
debsign --keyid="$GPG_KEY_ID" --re-sign ../*.changes \
112-
--batch --no-tty \
113-
--passphrase "$PPA_GPG_PASSPHRASE"
111+
# Inline-sign the .changes (and automatically the .dsc)
112+
debsign -k"$GPG_KEY_ID" \
113+
-p"gpg --batch --yes --pinentry-mode loopback --passphrase $PPA_GPG_PASSPHRASE" \
114+
--re-sign ../*.changes
114115
115116
ls -l ../*
116117

0 commit comments

Comments
 (0)