From d382515f2f7a3917df7a001395e165f35c4bc6a3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Aug 2026 11:46:39 +0000 Subject: [PATCH] ci: replace dpkg-sig with gpg --detach-sign (unavailable on Ubuntu 24.04) Co-authored-by: Meliox <5264368+Meliox@users.noreply.github.com> --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4dfa28b..cb78db2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: - name: Install build dependencies run: | sudo apt-get update -qq - sudo apt-get install -y debhelper dpkg-dev dpkg-sig + sudo apt-get install -y debhelper dpkg-dev - name: Import GPG key env: @@ -72,8 +72,9 @@ jobs: GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} run: | DEB=$(ls ../pve-mod_*.deb) - dpkg-sig --sign builder -k "$GPG_KEY_ID" --gpg-options "--batch" "$DEB" - dpkg-sig --verify "$DEB" + gpg --batch --armor --detach-sign --local-user "$GPG_KEY_ID" \ + -o "${DEB}.asc" "$DEB" + gpg --batch --verify "${DEB}.asc" "$DEB" - name: Generate and sign checksums env: @@ -99,14 +100,16 @@ jobs: run: | DEB=$(ls ../pve-mod_*.deb) echo "deb=$DEB" >> "$GITHUB_OUTPUT" + echo "deb_asc=${DEB}.asc" >> "$GITHUB_OUTPUT" - name: Create GitHub Release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ steps.version.outputs.tag }} DEB: ${{ steps.assets.outputs.deb }} + DEB_ASC: ${{ steps.assets.outputs.deb_asc }} run: | - ASSETS="$DEB /tmp/SHA256SUMS /tmp/SHA256SUMS.asc" + ASSETS="$DEB $DEB_ASC /tmp/SHA256SUMS /tmp/SHA256SUMS.asc" [[ -f install.sh ]] && ASSETS="$ASSETS install.sh" gh release create "$TAG" \