Skip to content

Commit 75f015c

Browse files
authored
ci: fix cask update (#101)
Update cask script to use pkg instead of dmg Updates the update-cask script to download and verify the CoderDesktop.pkg file instead of the previously used Coder.Desktop.dmg file. Change-Id: I79e601684c94374f62f505e6bdf86c51f7a42d7e Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent a8b5018 commit 75f015c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/update-cask.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ done
4444
exit 1
4545
}
4646

47-
# Download the Coder Desktop dmg
47+
# Download the CoderDesktop pkg
4848
GH_RELEASE_FOLDER=$(mktemp -d)
4949

5050
gh release download "$VERSION" \
5151
--repo coder/coder-desktop-macos \
5252
--dir "$GH_RELEASE_FOLDER" \
53-
--pattern 'Coder.Desktop.dmg'
53+
--pattern 'CoderDesktop.pkg'
5454

55-
HASH=$(shasum -a 256 "$GH_RELEASE_FOLDER"/Coder.Desktop.dmg | awk '{print $1}' | tr -d '\n')
55+
HASH=$(shasum -a 256 "$GH_RELEASE_FOLDER"/CoderDesktop.pkg | awk '{print $1}' | tr -d '\n')
5656

5757
IS_PREVIEW=false
5858
if [[ "$VERSION" == "preview" ]]; then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy