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): rpm signing
Elian Dorane2b13573ae59
diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.ymlindex 93772d7d92..da4e945074 100644--- a/.github/actions/build-electron/action.yml+++ b/.github/actions/build-electron/action.yml@@ -55,6 +55,12 @@ runs:security set-keychain-settings -t 3600 -l build-app-${{ github.run_id }}.keychainsecurity set-keychain-settings -t 3600 -l build-installer-${{ github.run_id }}.keychain+ - name: Import GPG signing key+ if: inputs.os == 'linux'+ shell: ${{ inputs.shell }}+ run: |+ echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import+- name: Set up Python and other macOS dependenciesif: ${{ inputs.os == 'macos' }}shell: ${{ inputs.shell }}diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.ymlindex cfed9c4fe9..03a9b52628 100644--- a/.github/workflows/nightly.yml+++ b/.github/workflows/nightly.yml@@ -76,6 +76,7 @@ jobs:APPLE_ID: ${{ secrets.APPLE_ID }}APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}+ GPG_SIGNING_KEY: ${{ secrets.GPG_SIGN_KEY }}- name: Publish releaseuses: softprops/[email protected]@@ -97,7 +98,7 @@ jobs:path: apps/desktop/uploadnightly-server:- if: github.repository == 'TriliumNext/Trilium'+ if: github.repository == 'TriliumNext/Trilium'name: Deploy server nightlystrategy:fail-fast: falsediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 041e7a437d..20161630fb 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -58,6 +58,7 @@ jobs:APPLE_ID: ${{ secrets.APPLE_ID }}APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}+ GPG_SIGNING_KEY: ${{ secrets.GPG_SIGN_KEY }}- name: Upload the artifactuses: actions/upload-artifact@v4diff --git a/apps/desktop/electron-forge/forge.config.ts b/apps/desktop/electron-forge/forge.config.tsindex b433ee4d71..991a58dfd6 100644--- a/apps/desktop/electron-forge/forge.config.ts+++ b/apps/desktop/electron-forge/forge.config.ts@@ -106,7 +106,8 @@ const config: ForgeConfig = {{name: "@electron-forge/maker-rpm",config: {- options: baseLinuxMakerConfigOptions+ options: baseLinuxMakerConfigOptions,+ args: ["--rpm-sign"]}},{