Skip to content

Commit 46725c0

Browse files
author
Github CLI
committed
fixing url
1 parent 0658c32 commit 46725c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ upload_file(){
3737
local OUT=$(curl --data-binary "@$SOURCE_FILE" -w "\n%{http_code}\n%{stdout}\n" \
3838
-s -X POST -H 'Content-Type: application/octet-stream' \
3939
-H "Authorization: token ${REPO_TOKEN}" \
40-
"https://uplxxoads.github.com/repos/${USERNAME}/${REPOSITORY}/releases/$RELEASE_ID/assets?name=$TARGET_FILE"
40+
"https://uploads.github.com/repos/${USERNAME}/${REPOSITORY}/releases/$RELEASE_ID/assets?name=$TARGET_FILE"
4141
)
4242

4343
if test "$(echo "$OUT" | tail -n 1)" -ne "201"; then

0 commit comments

Comments
 (0)