Desktop: public releases mirror (auto-update) + visible app version - #251
Merged
Conversation
Adds AppVersionLabel (reads getVersion via the updater lib, desktop-only) under the user menu, so the running version is visible outside Settings. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Source repo is private, so its release assets 404 for the public — the updater endpoint and website button can't reach them. Add a CI step that mirrors the DMG + .app.tar.gz + .sig + latest.json to a public releases repo (URLs in latest.json rewritten; signature stays valid), and point the updater endpoint + download button at that public repo. Requires: public repo mydevtools-tech/mydevtools-releases and a RELEASES_TOKEN secret (contents:write on both repos). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes the desktop app's downloads and auto-updates work for the public, given the source repo is private. Plus surfaces the app version in the UI.
Why
The source repo is private, so its GitHub release assets return 404 to anyone unauthenticated — the updater endpoint, the website download button, and direct DMG downloads all fail for end users. This mirrors the built artifacts to a public releases repo that those point at. Source stays private.
Changes
DMG + .app.tar.gz + .sig + latest.jsonto the public repo.latest.json's asset URLs are rewritten to the public repo; the minisign signature stays valid (it signs the file, not the URL).github.com/mydevtools-tech/mydevtools-releases/releases/latest/download/latest.jsonAppVersionLabelin the sidebar footer (desktop-only)mydevtools-tech/mydevtools-releases(Public).Note on the baked-in endpoint
The updater endpoint is compiled into each build, so the public repo name is effectively permanent. The already-released
v0.1.0points at the old (private) endpoint; the first public release should bev0.1.1with this new endpoint baked in.🤖 Generated with Claude Code