coder / coder/coder-desktop-macos

Serve preview builds from a unique URL

Open
#193 0 comments 0 reactions 0 assignees View on GitHub
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:

![Image](https://github.com/user-attachments/assets/9692ae9f-1b61-4779-9bf2-c463d283140e)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.