Skip to content

feat: add homebrew cask release action #56

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 1 commit into from
Feb 18, 2025

Conversation

ThomasK33
Copy link
Member

@ThomasK33 ThomasK33 commented Feb 14, 2025

Adds homebrew cask auto-update workflow and improves VPN logging

This change adds a new workflow to automatically update the homebrew cask when
a new version of Coder Desktop is released. It also improves VPN logging by
adding more debug logs and making the logger static, to avoid race conditions.

Change-Id: I6e76a8fa519f378cda92b4edffa64c17294e01b9
Signed-off-by: Thomas Kosiewski tk@coder.com

Copy link
Member Author

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

@ThomasK33 ThomasK33 marked this pull request as ready for review February 14, 2025 11:22
@ThomasK33 ThomasK33 force-pushed the 02-14-feat_add_homebrew_cask_release_action branch from 5e831ab to 38b2cd2 Compare February 14, 2025 11:26
@ThomasK33 ThomasK33 force-pushed the 02-14-feat_add_homebrew_cask_release_action branch 6 times, most recently from b1c132d to 28b526e Compare February 14, 2025 13:38
@ThomasK33 ThomasK33 linked an issue Feb 14, 2025 that may be closed by this pull request
2 tasks
@ThomasK33 ThomasK33 force-pushed the 02-14-feat_add_homebrew_cask_release_action branch 3 times, most recently from 01e1524 to a59b015 Compare February 14, 2025 14:38
@ThomasK33 ThomasK33 requested a review from matifali February 14, 2025 15:32
matifali
matifali previously approved these changes Feb 14, 2025
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

LGTM. Except a few suggestions and the PR scope.

@matifali matifali dismissed their stale review February 14, 2025 17:01

awaiting response.

@ThomasK33 ThomasK33 force-pushed the 02-14-feat_add_homebrew_cask_release_action branch from a59b015 to 352c6e1 Compare February 18, 2025 07:25
@ThomasK33 ThomasK33 requested a review from matifali February 18, 2025 07:31
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

Nothing blocking except a suggestion on auto approval. Good to merge without that too.

Change-Id: I6e76a8fa519f378cda92b4edffa64c17294e01b9
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 force-pushed the 02-14-feat_add_homebrew_cask_release_action branch from 352c6e1 to f9ba5a1 Compare February 18, 2025 11:32
@matifali

This comment was marked as outdated.

@matifali matifali removed the request for review from ethanndickson February 18, 2025 11:42
Copy link
Member Author

ThomasK33 commented Feb 18, 2025

Merge activity

  • Feb 18, 6:52 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Feb 18, 6:52 AM EST: A user merged this pull request with Graphite.

@ThomasK33 ThomasK33 merged commit 53fc1e0 into main Feb 18, 2025
4 checks passed
Copy link
Member

Choose a reason for hiding this comment

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

nit: since we're gonna do preview builds off main we should probably call this build.yml & name: build.

@@ -11,12 +11,12 @@ XCPROJECT := Coder\ Desktop/Coder\ Desktop.xcodeproj
SCHEME := Coder\ Desktop
SWIFT_VERSION := 6.0

CURRENT_PROJECT_VERSION=$(shell git describe --tags)
CURRENT_PROJECT_VERSION:=$(shell git describe --match 'v[0-9]*' --dirty='.devel' --always --tags)
Copy link
Member

Choose a reason for hiding this comment

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

I had to look this up but = is lazy, := is eager - do we need eager here?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's more about not reevaluating the value assignment.
A simple = will result in continuous re-expansions of the variable.
A :=, on the other hand, will only be expanded once and then used as a "constant".

(https://www.gnu.org/software/make/manual/html_node/Simple-Assignment.html)

@ethanndickson ethanndickson deleted the 02-14-feat_add_homebrew_cask_release_action branch February 18, 2025 11:57
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.

Add a Homebrew formula
3 participants