Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(forge): minor improvements to RPM signing
Elian Doran50568704cab4
diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.ymlindex 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 RPMif: inputs.os == 'linux'shell: ${{ inputs.shell }}run: |@@ -177,10 +177,10 @@ runs:# Sign the RPMrpm_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 signingif ! rpm -K "$rpm_file" | grep -q "digests signatures OK"; thenecho .rpm file not signed- rpm -Kv "$rpm_file"exit 1fi