Skip to content

Build your personal knowledge base with Trilium Notes

feat(forge): minor improvements to RPM signing

Elian Doran50568704cab4
diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml
index 61e96e50f5..eb5ef67370 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 <[email protected]>" --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