Skip to content

Publish releases automatically and keep checking for updates - #5

Merged
tw4 merged 1 commit into
mainfrom
feat/auto-updates
Nov 11, 2026
Merged

tw4 merged 1 commit into
mainfrom
feat/auto-updates

Conversation

@tw4

@tw4 tw4 commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Closes #4.

  • Auto-publish: release.yml now publishes the release (not a draft) once all platforms are built, signed and audited. Installed apps see it through latest.json right away.
  • Packages follow: a release created with GITHUB_TOKEN does not fire release: published, so release.yml starts packages.yml with workflow_dispatch (Homebrew, Scoop, winget).
  • Periodic check: the editor checks at launch and every 6 hours (the window is hidden, not closed), and shows the update toast once per version. Updating stays one click and optional: download, signature check, install, restart.
  • .deb/.rpm: the Tauri updater can only replace the AppImage on Linux. A new self_update_supported command reports this, and on those installs the toast says Download and opens the release page.

Tests: self_update_supported_for (Rust), oncePerVersion (Vitest). cargo test 33/33, vitest 41/41, tsc clean, clippy clean.

- release.yml publishes the release once every platform is built and audited,
  then starts packages.yml (a release made with GITHUB_TOKEN does not fire
  release: published).
- The editor checks for updates at launch and every 6 hours, and tells about
  each version once. The app lives in the tray, so a launch-only check missed
  new versions for days.
- .deb/.rpm installs cannot replace themselves; their update button opens the
  release page instead of failing.

Closes #4
@tw4
tw4 merged commit b70911e into main Nov 11, 2026
5 checks passed
@tw4
tw4 deleted the feat/auto-updates branch November 11, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ship updates without manual steps: auto-publish releases and check for updates periodically

1 participant