Skip to content

Commit 1f018c9

Browse files
author
Github CLI
committed
missing fix
1 parent a93a013 commit 1f018c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

github-cli.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +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}" \
2223
"https://api.github.com/repos/${USERNAME}/${REPOSITORY}/releases?access_token=$REPO_TOKEN" \
2324
--data "$PAYLOAD" |\
2425
tee -a /dev/stderr | jq -r '.id') 2> /tmp/stderr 1> /tmp/stdout

0 commit comments

Comments
 (0)