message no. 165578
Posted by cmyers_ in #github at 2017-03-13T18:17:01Z
I am trying to use curl to upload a release from a script, but I'm having some trouble. I've read the API page: https://developer.github.com/v3/repos/releases/ - currently my cmd looks like this: curl -v -XPOST -H "Content-Type: application/gzip" -H "Content-Length: $CT_LENGTH" "$UPLOAD_URL?label=meta_tools&name=meta_tools-$META_TOOLS_CV.tar.gz&access_token=$TOKEN" @$MT_PATH where UPLOAD_URL is the url (h