1 parent 7a51b2d commit 0039a22Copy full SHA for 0039a22
1 file changed
.github/workflows/release.yml
@@ -108,21 +108,9 @@ jobs:
108
# Build unsigned source package (-us -uc)
109
debuild -S -sa -d -us -uc
110
111
- # Sign manually to avoid debsign problems on GitHub Actions
112
- DSC=$(ls ../*.dsc)
113
- CHG=$(ls ../*.changes)
114
-
115
- echo "Signing $DSC"
116
- gpg --batch --yes --pinentry-mode loopback \
117
- --passphrase "$PPA_GPG_PASSPHRASE" \
118
- -u "$GPG_KEY_ID" \
119
- --detach-sign --armor "$DSC"
120
121
- echo "Signing $CHG"
122
123
124
125
- --detach-sign --armor "$CHG"
+ debsign --keyid="$GPG_KEY_ID" --re-sign ../*.changes \
+ --batch --no-tty \
+ --passphrase "$PPA_GPG_PASSPHRASE"
126
127
ls -l ../*
128
0 commit comments