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 @@ -19,7 +19,7 @@ create_release(){
1919 "prerelease": true
2020 }' | sed -r ' s/[\]{2}/\\/g' )
2121 (curl -s -X POST -w ' %{stderr}%{http_code}\n%{stdout}\n' \
22- -H " Authorization: token $$ {REPO_TOKEN}" \
22+ -H " Authorization: token ${REPO_TOKEN} " \
2323 " https://api.github.com/repos/${USERNAME} /${REPOSITORY} /releases?access_token=$REPO_TOKEN " \
2424 --data " $PAYLOAD " | \
2525 tee -a /dev/stderr | jq -r ' .id' ) 2> /tmp/stderr 1> /tmp/stdout
@@ -36,7 +36,7 @@ create_release(){
3636upload_file (){
3737 local OUT=$( curl --data-binary " @$SOURCE_FILE " -w " \n%{http_code}\n" \
3838 -s -X POST -H ' Content-Type: application/octet-stream' \
39- -H " Authorization: token $$ {REPO_TOKEN}" \
39+ -H " Authorization: token ${REPO_TOKEN} " \
4040 " https://uploads.github.com/repos/${USERNAME} /${REPOSITORY} /releases/$RELEASE_ID /assets?name=$TARGET_FILE "
4141 )
4242
You can’t perform that action at this time.
0 commit comments