File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}"
You can’t perform that action at this time.
0 commit comments