Skip to content

feat: add auto-updates #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 2, 2025
Merged

feat: add auto-updates #176

merged 5 commits into from
Jun 2, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jun 2, 2025

Closes #47.

Stable:
image

Preview:

image

Additionally:

  • Removes the updating of the coder-desktop-preview cask.
  • Marks the coder-desktop cask as auto-updating, so brew doesn't attempt to upgrade itself.

I'll also need to make a PR on the homebrew-coder repo to mark it as deprecated in brew. If a user wishes to be on the preview channel, they just need to install the stable version, and switch to the preview channel in settings.

Copy link
Member Author

ethanndickson commented Jun 2, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson marked this pull request as ready for review June 2, 2025 03:04
Copy link
Member

@deansheather deansheather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens to people who have preview installed? Do they just need to uninstall and reinstall? Will brew tell them the cask is gone?

@ethanndickson
Copy link
Member Author

ethanndickson commented Jun 2, 2025

What happens to people who have preview installed? Do they just need to uninstall and reinstall? Will brew tell them the cask is gone?

There's nothing in the brew documentation to suggest that deprecated casks display a warning when attempting to upgrade them, but I hope that's the case... I'll also leave a message in slack, because presumably everyone using it are from Coder.

I'll actually push one last final commit to the preview cask when I deprecate it, that way people can brew upgrade to that version, but not any versions after it.

@ethanndickson ethanndickson force-pushed the ethan/update-appcast-on-build branch from d4cee51 to c0c28ad Compare June 2, 2025 05:20
@ethanndickson ethanndickson force-pushed the ethan/add-auto-updates branch 2 times, most recently from 501d31b to f20c965 Compare June 2, 2025 05:23
Copy link
Member Author

ethanndickson commented Jun 2, 2025

Merge activity

  • Jun 2, 5:34 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 2, 5:35 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jun 2, 5:37 AM UTC: @ethanndickson merged this pull request with Graphite.

@ethanndickson ethanndickson changed the base branch from ethan/update-appcast-on-build to graphite-base/176 June 2, 2025 05:34
@ethanndickson ethanndickson changed the base branch from graphite-base/176 to main June 2, 2025 05:34
@ethanndickson ethanndickson force-pushed the ethan/add-auto-updates branch from f20c965 to c904646 Compare June 2, 2025 05:35
@ethanndickson ethanndickson merged commit aeb1e68 into main Jun 2, 2025
4 checks passed
@ethanndickson ethanndickson deleted the ethan/add-auto-updates branch June 2, 2025 05:37
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.

Support automatic updates
2 participants