File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ TOOLS_MARKER_FILE="$MARKER_DIR/tools"
13
13
sudo mkdir -p " $MARKER_DIR "
14
14
15
15
# Fetch the latest release information
16
- LATEST_RELEASE=$( curl -s -H " Authorization: token $TEMPLATE_PAT " https://api.github.com/repos/github/spark-template/releases/latest)
16
+ LATEST_RELEASE=$( curl -s https://api.github.com/repos/github/spark-template/releases/latest)
17
17
18
18
# Check if marker file exists and has the same release ID
19
19
RELEASE_ID=$( echo " $LATEST_RELEASE " | jq -r ' .id' )
@@ -28,7 +28,7 @@ TEMP_DIR=$(mktemp -d)
28
28
cd $TEMP_DIR
29
29
30
30
DOWNLOAD_URL=$( echo " $LATEST_RELEASE " | jq -r ' .assets[0].url' )
31
- curl -L -o dist.zip -H " Authorization: token $TEMPLATE_PAT " -H " Accept: application/octet-stream" " $DOWNLOAD_URL "
31
+ curl -L -o dist.zip -H " Accept: application/octet-stream" " $DOWNLOAD_URL "
32
32
33
33
unzip -o dist.zip
34
34
rm dist.zip
You can’t perform that action at this time.
0 commit comments