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 <[email protected]>
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

+3-3
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)