From 50568704cab4b843ed68a6d75d01055c0f7fae76 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 14 Aug 2025 12:40:19 +0300 Subject: [PATCH] feat(forge): minor improvements to RPM signing --- .github/actions/build-electron/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 61e96e50f..eb5ef6737 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -163,7 +163,7 @@ runs: echo "Note: ZIP files are not code signed, but their contents should be" fi - - name: Import GPG signing key + - name: Sign the RPM if: inputs.os == 'linux' shell: ${{ inputs.shell }} run: | @@ -177,10 +177,10 @@ runs: # Sign the RPM rpm_file=$(find ./apps/desktop/dist -name "*.rpm" -print -quit) rpmsign --define "_gpg_name Trilium Notes Signing Key " --addsign "$rpm_file" + rpm -Kv "$rpm_file" # Validate code signing if ! rpm -K "$rpm_file" | grep -q "digests signatures OK"; then echo .rpm file not signed - rpm -Kv "$rpm_file" exit 1 fi