Skip to content

Commit 5056870

Browse files
committed
feat(forge): minor improvements to RPM signing
1 parent b66b4de commit 5056870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/build-electron/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ runs:
163163
echo "Note: ZIP files are not code signed, but their contents should be"
164164
fi
165165
166-
- name: Import GPG signing key
166+
- name: Sign the RPM
167167
if: inputs.os == 'linux'
168168
shell: ${{ inputs.shell }}
169169
run: |
@@ -177,10 +177,10 @@ runs:
177177
# Sign the RPM
178178
rpm_file=$(find ./apps/desktop/dist -name "*.rpm" -print -quit)
179179
rpmsign --define "_gpg_name Trilium Notes Signing Key <[email protected]>" --addsign "$rpm_file"
180+
rpm -Kv "$rpm_file"
180181
181182
# Validate code signing
182183
if ! rpm -K "$rpm_file" | grep -q "digests signatures OK"; then
183184
echo .rpm file not signed
184-
rpm -Kv "$rpm_file"
185185
exit 1
186186
fi

0 commit comments

Comments
 (0)