Skip to content

Desktop: Skip auto-updates for non-release builds - #412

Draft
priethor wants to merge 1 commit into
mainfrom
priethor/fix/release-0-2-0-updates
Draft

Desktop: Skip auto-updates for non-release builds#412
priethor wants to merge 1 commit into
mainfrom
priethor/fix/release-0-2-0-updates

Conversation

@priethor

@priethor priethor commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

What

Non-release desktop builds no longer try to update themselves. They still check whether a newer release exists, but they do not use the download-and-install flow. "Check for Updates…" now explains that the app came from a branch and recommends installing a release. Tagged release builds keep the regular updater.

Why

Buildkite versions branch artifacts as 0.2.0-b6d0105. electron-updater treats the SHA after the dash as a release channel, then reports "No published versions on GitHub" because that channel does not exist. A valid artifact ends up looking broken.

Testing Instructions

  1. Open a packaged Buildkite artifact whose version ends in a commit SHA.
  2. Choose "Check for Updates…" and confirm Cortext recommends installing a release.
  3. Open a tagged release build and confirm the menu runs the usual update check.

I used Claude to help implement these changes. I guided the work, then tested and reviewed the result.

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.

1 participant