Tauri v2 Updater JSON, Minisign Keys & Multi-Platform Release Pipelines
A clean engineering breakdown of Tauri v2's updater plugin — from tauri signer generate and minisign pubkeys to multi-arch latest.json schemas and avoiding broken partial releases.
Tauri v2 moved the built-in updater into an explicit plugin (tauri-plugin-updater) and tightened cryptographic verification: every update bundle MUST be signed with a minisign keypair, and the updater refuses unsigned endpoints completely in production builds.
1. Generate and store your minisign keypair
pnpm tauri signer generate -w ~/.tauri/myapp.key
# Store the contents of ~/.tauri/myapp.key in GitHub Secrets as TAURI_SIGNING_PRIVATE_KEY
# Store the password as TAURI_SIGNING_PRIVATE_KEY_PASSWORD
# Paste the .pub file contents into src-tauri/tauri.conf.json -> plugins.updater.pubkey2. Anatomy of Tauri v2 latest.json
Unlike Sparkle (RSS XML) or electron-builder (per-OS YAML), Tauri v2 expects a single static JSON document mapping platform targets (darwin-aarch64, darwin-x86_64, windows-x86_64, linux-x86_64) to their signed update URL and inline minisign signature string.
{
"version": "1.3.0",
"notes": "Faster startup and Wayland clipboard support.",
"pub_date": "2026-11-28T12:00:00Z",
"platforms": {
"darwin-aarch64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6...",
"url": "https://downloads.example.com/v1.3.0/MyApp_aarch64.app.tar.gz"
},
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6...",
"url": "https://downloads.example.com/v1.3.0/MyApp_1.3.0_x64-setup.exe"
},
"linux-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6...",
"url": "https://downloads.example.com/v1.3.0/MyApp_1.3.0_amd64.AppImage"
}
}
}3. Avoid publishing half-finished matrix builds
When GitHub Actions builds macOS, Windows, and Linux in parallel matrix jobs, macOS often finishes 4 minutes before Windows. Always upload artifacts to a DRAFT GitHub release first, then run a final publish job that merges every platform's .sig file into latest.json and flips draft: false atomically.
4. Handling staged rollouts, channels, and emergency rollbacks
Because tauri-plugin-updater compares version strings using SemVer ordering, rolling back a broken 1.3.0 release works best in two steps: first point latest.json back at 1.2.9 immediately so users who have not updated stay on the healthy build, and then ship a fixed 1.3.1 patch so early updaters recover automatically.
- Enable createUpdaterArtifacts: true in tauri.conf.json so macOS emits .app.tar.gz + .sig and Windows emits .nsis.zip / .exe + .sig.
- Keep your minisign private key exclusively in CI secrets and rotate pubkey only through a bridge release if ever compromised.
- Serve latest.json with short cache TTLs (or instant invalidation on publish) while streaming the update tarballs with exact Content-Length.
- Test your updater end-to-end against a beta endpoint (?channel=beta) before pointing stable clients at a new runtime version.
Ship your Mac or Electron app with a single git tag.
Permanent OS-aware download links, cached Sparkle & Electron auto-update feeds, Polar/Stripe PPP checkout, and license keys — with 0% cut on your sales.