We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0658c32 commit 46725c0Copy full SHA for 46725c0
github-cli.sh
@@ -37,7 +37,7 @@ upload_file(){
37
local OUT=$(curl --data-binary "@$SOURCE_FILE" -w "\n%{http_code}\n%{stdout}\n" \
38
-s -X POST -H 'Content-Type: application/octet-stream' \
39
-H "Authorization: token ${REPO_TOKEN}" \
40
- "https://uplxxoads.github.com/repos/${USERNAME}/${REPOSITORY}/releases/$RELEASE_ID/assets?name=$TARGET_FILE"
+ "https://uploads.github.com/repos/${USERNAME}/${REPOSITORY}/releases/$RELEASE_ID/assets?name=$TARGET_FILE"
41
)
42
43
if test "$(echo "$OUT" | tail -n 1)" -ne "201"; then
0 commit comments