tauri-latest-json-0.4.1 is not a library.
Visit the last successful build:
tauri-latest-json-0.4.4
Features
- Multi-platform detection: Automatically finds
.msi,.exe,.dmg(Intel/ARM),.AppImage,.deb,.rpm, and.tar.gzartifacts. - Interactive Mode: Prompts for missing information (download URL, release notes) if arguments aren't provided.
- Smart platform mapping: Maps artifacts to their respective Tauri platform keys (
windows-x86_64,darwin-aarch64, etc.). - Flexible Versioning: Reads version from
package.json,Cargo.toml, ortauri.conf.json(supports both Tauri 1.0 and 2.0 structures). - Root-run friendly: Can be run from your project root or
src-tauridirectory. - Graceful Signature Handling: Automatically skips artifacts without
.sigfiles (like.dmgwhich Tauri doesn't sign for updates) with a helpful warning. - Verification Support: Optional built-in signature verification against your public key.
Installation
Usage
1. Simple Interactive Mode (Recommended)
Just run the command from your Tauri project root. It will prompt you for the download URL and release notes:
2. Command Line Arguments
Provide the download URL base and release notes directly:
Example:
3. What happens next?
The tool will:
- Detect Version: Scans
package.json,Cargo.toml, ortauri.conf.json. - Find Artifacts: Searches
target/release/bundlefor installers. - Verify Signatures: Matches installers with their
.sigfiles (skipping.dmgas expected). - Generate Output: Creates a
latest.jsonfile in your current directory, ready for upload.
CLI Commands
Platform Detection Logic
The tool prioritizes updater-compatible artifacts:
| Platform | Priority Artifact | Extension Fallbacks |
|---|---|---|
| Windows | .msi |
.exe |
| macOS (Intel) | .app.tar.gz |
.dmg (skipped for updates) |
| macOS (ARM) | .app.tar.gz |
.dmg (skipped for updates) |
| Linux (x64) | .AppImage |
.deb, .rpm, .tar.gz |
| Linux (ARM) | .AppImage |
.deb, .rpm, .tar.gz |
Note: Tauri doesn't generate
.sigfiles for.dmg. This tool will warn you and skip them for the updater JSON, as they aren't used for auto-updates.
Requirements
- A valid Tauri project with
tauri.conf.json. - A configured
updaterplugin with apubkey. - Built artifacts in
target/release/bundleorsrc-tauri/target/release/bundle.
Development & Testing
Running Tests
Smoke Testing
Validate against a local real Tauri app:
# Or specify a custom directory
REAL_APP_DIR=/path/to/your-app
License
MIT — see LICENSE.