Skip to content

Commit 7458a28

Browse files
committed
ci: add Azure Trusted Signing to release workflow
1 parent 19a5a3d commit 7458a28

3 files changed

Lines changed: 39 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,21 @@ jobs:
5454
- name: Build installer
5555
run: npm run build
5656

57+
- name: Sign installer
58+
uses: azure/trusted-signing-action@v0
59+
with:
60+
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
61+
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
62+
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
63+
endpoint: https://neu.codesigning.azure.net/
64+
trusted-signing-account-name: rigstats-signing
65+
certificate-profile-name: RIGStats
66+
files-folder: src-tauri/target/release/bundle/nsis
67+
files-folder-filter: exe
68+
file-digest: SHA256
69+
timestamp-rfc3161: http://timestamp.acs.microsoft.com
70+
timestamp-digest: SHA256
71+
5772
- name: Publish GitHub release
5873
uses: softprops/action-gh-release@v2
5974
with:

ROADMAP.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,26 @@ with no battery detected.
6969
- New `BatteryStats` struct in `stats.rs`, included in `StatsPayload`
7070
- New `panels/battery.js` frontend panel
7171
- Add `battery` to the valid panel keys list in `monitor.rs` and settings
72+
73+
---
74+
75+
## v2.0 — Auto-update
76+
77+
**Plugin:** `tauri-plugin-updater`
78+
**Distribution:** GitHub Releases (existing pipeline)
79+
80+
Users currently have to manually download and run a new installer for each release.
81+
The Tauri v2 updater plugin checks for a new version on launch, prompts the user,
82+
and installs silently — integrating directly with the existing release-please +
83+
`release.yml` workflow.
84+
85+
**Blocker:** Windows requires a code-signing certificate to avoid SmartScreen warnings
86+
on each update. Worth resolving before implementation starts.
87+
88+
**Scope:**
89+
90+
- Add `tauri-plugin-updater` and configure the update endpoint in `tauri.conf.json`
91+
- Publish a `latest.json` update manifest as a GitHub Release asset in `release.yml`
92+
- Sign the installer in CI using the code-signing certificate
93+
- Add an in-app update check on startup with a user prompt (not silent forced updates)
94+
- Consider Winget publishing as a complementary distribution channel

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)