File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
.github/actions/build-electron
apps/desktop/electron-forge Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,11 @@ runs:
174174 rpm --import pubkey
175175 rm pubkey
176176
177- # Validate code signing
177+ # Sign the RPM
178178 rpm_file=$(find ./apps/desktop/dist -name "*.rpm" -print -quit)
179+ rpmsign --define "_gpg_name Trilium Notes Signing Key <[email protected] >" --addsign "$rpm_file" 180+
181+ # Validate code signing
179182 if ! rpm -K "$rpm_file" | grep -q "digests signatures OK"; then
180183 echo .rpm file not signed
181184 rpm -Kv "$rpm_file"
Original file line number Diff line number Diff line change @@ -106,8 +106,7 @@ const config: ForgeConfig = {
106106 {
107107 name : "@electron-forge/maker-rpm" ,
108108 config : {
109- options : baseLinuxMakerConfigOptions ,
110- args : [ "--rpm-sign" ]
109+ options : baseLinuxMakerConfigOptions
111110 }
112111 } ,
113112 {
You can’t perform that action at this time.
0 commit comments