From 6a8183b0fd6bcb9f2130c97104ad2b67fcad3704 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Tue, 2 Dec 2025 12:07:14 +0100 Subject: [PATCH] Bump version to 2.0.3 and add GPG key generation for CI Updated project version to 2.0.3 in build.gradle, tauri.conf.json, and test configs. Added a step in the multiOSReleases GitHub workflow to generate a temporary GPG key for AppImage signing on Ubuntu CI builds. --- .github/workflows/multiOSReleases.yml | 20 +++++++++++++++++-- build.gradle | 2 +- frontend/src-tauri/tauri.conf.json | 2 +- .../testing/serverExperienceSimulations.ts | 2 +- .../testing/serverExperienceSimulations.ts | 2 +- 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/workflows/multiOSReleases.yml b/.github/workflows/multiOSReleases.yml index 2ea45ccf89..2f3382594d 100644 --- a/.github/workflows/multiOSReleases.yml +++ b/.github/workflows/multiOSReleases.yml @@ -179,8 +179,8 @@ jobs: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: install dependencies (ubuntu only) + + - name: Install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-22.04' && matrix.name != 'linux-x86_64-appimage' run: | sudo apt-get update @@ -437,6 +437,22 @@ jobs: echo "APPLE_SIGNING_IDENTITY=$CERT_ID" >> $GITHUB_ENV echo "Certificate imported successfully." + - name: Generate temporary GPG key for AppImage + if: matrix.platform == 'ubuntu-22.04' && matrix.name == 'linux-x86_64-appimage' + run: | + cat >keyparams <<'EOF' + %no-protection + Key-Type: RSA + Key-Length: 2048 + Name-Real: CI AppImage Signer + Name-Email: ci-appimage@example.invalid + Expire-Date: 0 + %commit + EOF + gpg --batch --generate-key keyparams + echo "Generated temporary GPG key:" + gpg --list-secret-keys --keyid-format=long + - name: Build Tauri app uses: tauri-apps/tauri-action@v0 env: diff --git a/build.gradle b/build.gradle index b85c2d4138..1738c1ef72 100644 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ repositories { allprojects { group = 'stirling.software' - version = '2.0.2' + version = '2.0.3' configurations.configureEach { exclude group: 'commons-logging', module: 'commons-logging' diff --git a/frontend/src-tauri/tauri.conf.json b/frontend/src-tauri/tauri.conf.json index 3501c1ef31..6434d9f524 100644 --- a/frontend/src-tauri/tauri.conf.json +++ b/frontend/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "Stirling-PDF", - "version": "2.0.2", + "version": "2.0.3", "identifier": "stirling.pdf.dev", "build": { "frontendDist": "../dist", diff --git a/frontend/src/core/testing/serverExperienceSimulations.ts b/frontend/src/core/testing/serverExperienceSimulations.ts index d2d07dca25..96b22b7748 100644 --- a/frontend/src/core/testing/serverExperienceSimulations.ts +++ b/frontend/src/core/testing/serverExperienceSimulations.ts @@ -38,7 +38,7 @@ const FREE_LICENSE_INFO: LicenseInfo = { const BASE_NO_LOGIN_CONFIG: AppConfig = { enableAnalytics: true, - appVersion: '2.0.2', + appVersion: '2.0.3', serverCertificateEnabled: false, enableAlphaFunctionality: false, serverPort: 8080, diff --git a/frontend/src/proprietary/testing/serverExperienceSimulations.ts b/frontend/src/proprietary/testing/serverExperienceSimulations.ts index 6d808c6b0d..17500f8e67 100644 --- a/frontend/src/proprietary/testing/serverExperienceSimulations.ts +++ b/frontend/src/proprietary/testing/serverExperienceSimulations.ts @@ -48,7 +48,7 @@ const FREE_LICENSE_INFO: LicenseInfo = { const BASE_NO_LOGIN_CONFIG: AppConfig = { enableAnalytics: true, - appVersion: '2.0.2', + appVersion: '2.0.3', serverCertificateEnabled: false, enableAlphaFunctionality: false, serverPort: 8080,