Hello,
Just being automating some releases and after successfully uploading the asset related to a release the file seems to be corrupt (is not possible to untar/unzip it the file seems to have another format). Is this perhaps a problem while using the API to do it so? while using the web interface this works smoothly..
Here is my upload code
curl -X POST -H "Content-Type:application/gzip" -H "Authorization: token $token" -F "file=@$release_name.tar.gz; type=application/gzip" https://uploads.github.com/repos/foo/foo/releases/$ID/assets?name=$release_name.tar.gz)
Thanks for your kind help
Regards