diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5138fe8..cd62aa6 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 }} @@ -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 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 + 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"