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