coder / coder/coder-desktop-macos
Serve preview builds from a unique URL
- Dominant language
- Swift
- Stars
- 29
- Forks
- 8
- Avg merge
- 18h 14m
- Merged PRs (30d)
- 4
Description
Right now, we use the same download URL for all preview builds:
`https://github.com/coder/coder-desktop-macos/releases/download/preview/Coder-Desktop.pkg`
This means if an update popup advertises a preview build other than the latest (separately, why is this happening?) installing that build will fail, as the signature of the latest build does not match what Sparkle expected to download. This produces an update error:

This can be worked around by **simply checking for updates again**, and installing the advertised version, which will be the actual latest preview build.
This **does not effect `Stable` release builds**, as they are served from a unique URL:
`https://github.com/coder/coder-desktop-macos/releases/download/v0.7.0/Coder-Desktop.pkg`
We could solve this by serving the last N preview builds from a GCP bucket.
Contributor guide
Assessment
This issue has not been assessed yet.