mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
feat(forge): proper rpm signing
This commit is contained in:
parent
d33d27ee82
commit
b66b4dec83
5
.github/actions/build-electron/action.yml
vendored
5
.github/actions/build-electron/action.yml
vendored
@ -174,8 +174,11 @@ runs:
|
||||
rpm --import pubkey
|
||||
rm pubkey
|
||||
|
||||
# Validate code signing
|
||||
# Sign the RPM
|
||||
rpm_file=$(find ./apps/desktop/dist -name "*.rpm" -print -quit)
|
||||
rpmsign --define "_gpg_name Trilium Notes Signing Key <triliumnotes@outlook.com>" --addsign "$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"
|
||||
|
@ -106,8 +106,7 @@ const config: ForgeConfig = {
|
||||
{
|
||||
name: "@electron-forge/maker-rpm",
|
||||
config: {
|
||||
options: baseLinuxMakerConfigOptions,
|
||||
args: ["--rpm-sign"]
|
||||
options: baseLinuxMakerConfigOptions
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user