From e25c61d927a7a5d9f044f9aff214f35194bde2e5 Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Mon, 2 Jun 2025 16:25:09 +1000 Subject: [PATCH 1/4] ci: fix homebrew out format (#177) For some reason this line needs to be in the same stanza as conflicts_on. This passes the homebrew CI. --- scripts/update-cask.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-cask.sh b/scripts/update-cask.sh index a679fee..478ea61 100755 --- a/scripts/update-cask.sh +++ b/scripts/update-cask.sh @@ -85,8 +85,8 @@ cask "coder-desktop" do name "Coder Desktop" desc "Native desktop client for Coder" homepage "https://github.com/coder/coder-desktop-macos" - auto_updates true + auto_updates true depends_on macos: ">= :sonoma" pkg "Coder-Desktop.pkg" From 681d448f23a1a6e31d19412c9aeb337a952530dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 22:17:46 +1000 Subject: [PATCH 2/4] ci: bump google-github-actions/auth from 2.1.8 to 2.1.10 in the github-actions group (#178) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5138fe8..3f13272 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,7 @@ jobs: - name: Authenticate to Google Cloud id: gcloud_auth - uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 + uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10 with: workload_identity_provider: ${{ secrets.GCP_WORKLOAD_ID_PROVIDER }} service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }} From 71c5d4cf4ac5ba64c6adad2603221890d59f66cd Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Tue, 3 Jun 2025 22:32:11 +1000 Subject: [PATCH 3/4] ci: set preview build description to commit message (#180) Just lets you see what changed in a preview build at a glance. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f13272..cd62aa6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,7 +103,7 @@ jobs: popd gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml" env: - VERSION_DESCRIPTION: ${{ github.event_name == 'release' && github.event.release.body || '' }} + VERSION_DESCRIPTION: ${{ (github.event_name == 'release' && github.event.release.body) || (github.event_name == 'push' && github.event.head_commit.message) || '' }} update-cask: name: Update homebrew-coder cask From 170b399a7e7c1a752ad953f1aefac883f1210c02 Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Tue, 3 Jun 2025 22:32:24 +1000 Subject: [PATCH 4/4] fix: disable unattended updates (#179) There's no point allowing users to enable unattended updates, as the installer requires a password prompt, as does the app the first time it's launched after updating -- it would be more annoying than useful. All this does is remove the checkbox on the update prompt: Before: image After: image Automatic update *checks* can still be enabled in settings. --- Coder-Desktop/Coder-Desktop/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Coder-Desktop/Coder-Desktop/Info.plist b/Coder-Desktop/Coder-Desktop/Info.plist index f127b2c..a955582 100644 --- a/Coder-Desktop/Coder-Desktop/Info.plist +++ b/Coder-Desktop/Coder-Desktop/Info.plist @@ -37,5 +37,7 @@ $(GIT_COMMIT_HASH) SUFeedURL https://releases.coder.com/coder-desktop/mac/appcast.xml + SUAllowsAutomaticUpdates +