Skip to content

Commit 24cd1f3

Browse files
Update onCreate.sh
1 parent 42858a5 commit 24cd1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/onCreate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sudo mv "$azcopy_dir/azcopy" /usr/local/bin/azcopy
2222
sudo rm -rf "$azcopy_dir"
2323

2424

25-
LATEST_RELEASE=$(curl -s -H "Authorization: token $TEMPLATE_PAT" https://api.github.com/repos/github/spark-template/releases/216808806)
25+
LATEST_RELEASE=$(curl -s -H "Authorization: token $TEMPLATE_PAT" https://api.github.com/repos/github/spark-template/releases/latest)
2626
DOWNLOAD_URL=$(echo "$LATEST_RELEASE" | jq -r '.assets[0].url')
2727
curl -L -o dist.zip -H "Authorization: token $TEMPLATE_PAT" -H "Accept: application/octet-stream" "$DOWNLOAD_URL"
2828
unzip -o dist.zip

0 commit comments

Comments
 (0)