Repository navigation
Release and Auto Updater
hinditutorpoint edited this page Nov 29, 2026
·
1 revision
npm run tauri -- signer generate -w "$env:USERPROFILE\.tauri\cims-pro.key"- Copy the generated public key into
src-tauri/tauri.conf.json→plugins.updater.pubkey. - Add the private key to GitHub Repository Secrets (Settings → Secrets and variables → Actions):
TAURI_SIGNING_PRIVATE_KEYTAURI_SIGNING_PRIVATE_KEY_PASSWORD
Tag and push a version (e.g., v0.1.0):
git tag v0.1.0
git push origin v0.1.0GitHub Actions (.github/workflows/release.yml) automatically:
- Syncs the version into
package.json,src-tauri/tauri.conf.json, andsrc-tauri/Cargo.toml. - Builds the Windows NSIS installer (
x86_64-pc-windows-msvc). - Signs the updater artifact and publishes
latest.json+.sig+.exeto GitHub Releases.
On production startup, useAppUpdater checks https://github.com/bhsorg/cims-pro/releases/latest/download/latest.json. If a newer version exists, an Update Available dialog displays the release notes, download progress bar, and Update & Restart button.