Skip to content

Commit b377278

Browse files
Update release API call to specific version tag
1 parent 004d82e commit b377278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/refreshTools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
WORKSPACE_DIR="/workspaces/spark-template"
6-
LATEST_RELEASE=$(curl -s https://api.github.com/repos/github/spark-template/releases/latest)
6+
LATEST_RELEASE=$(curl -s https://api.github.com/repos/github/spark-template/releases/tags/v0.41.27)
77
RELEASE_ID=$(echo "$LATEST_RELEASE" | jq -r '.id')
88

99

@@ -17,4 +17,4 @@ curl -L -o "$TEMP_DIR/dist.zip" -H "Accept: application/octet-stream" "$DOWNLOAD
1717
unzip -o "$TEMP_DIR/dist.zip" -d "$TEMP_DIR"
1818
rm "$TEMP_DIR/dist.zip"
1919

20-
echo "$RELEASE_ID"
20+
echo "$RELEASE_ID"

0 commit comments

Comments
 (0)