Skip to content

Commit f3c715d

Browse files
Sign dsc and changes files directly with gpg
1 parent 1767be7 commit f3c715d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,11 @@ jobs:
244244
# Build unsigned source package
245245
dpkg-buildpackage -S -sa -d -us -uc
246246
247-
# Sign with GPG in non-interactive mode
248-
debsign -k"${GPG_KEY_ID}" -p"gpg --batch --pinentry-mode loopback" "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}_source.changes"
247+
# Sign the .dsc and .changes files directly
248+
gpg --pinentry-mode loopback --default-key "${GPG_KEY_ID}" --clearsign "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}.dsc"
249+
mv "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}.dsc.asc" "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}.dsc"
250+
gpg --pinentry-mode loopback --default-key "${GPG_KEY_ID}" --clearsign "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}_source.changes"
251+
mv "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}_source.changes.asc" "${WORKDIR}/aethertune_${VERSION}-ppa1~${SERIES}_source.changes"
249252
250253
# Upload to PPA
251254
cd "${WORKDIR}"

0 commit comments

Comments
 (0)