Skip to content

tmshv/sphere

Repository files navigation

Sphere

This template should help get you started developing with Tauri, React and Typescript in Vite.

Recommended IDE Setup

Release

Version locations

The app version is stored in three files that must stay in sync:

File Field
package.json version
src-tauri/tauri.conf.json version
src-tauri/Cargo.toml version

The script scripts/version.js copies the version from package.json into the other two files. It runs automatically as an npm version hook.

How to release

  1. Bump the version — pick one of patch, minor, or major:

    npm version patch   # e.g. 0.9.4 → 0.9.5

    This command:

    • Updates version in package.json
    • Runs scripts/version.js to sync tauri.conf.json and Cargo.toml
    • Stages the changed files and creates a commit
    • Tags the commit as v<version>
  2. Push the tag:

    git push origin main --tags
  3. GitHub Actions (publish.yaml) picks up the v* tag and builds macOS and Windows binaries using tauri-apps/tauri-action. A draft GitHub Release is created with the build artifacts attached.

  4. Open the draft release on GitHub, edit the release notes, and publish it.

Related Links

About

General purpose GIS Desktop Application

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published