-
Create the release using the github page
-
Query the github API for the upload URL
curl -i https://api.github.com/repos/opengisch/osgeo4travis/releases/tags/{releasename}
-
Search for the upload_url
-
Upload the file
curl --user "m-kuhn" --data @osgeo4travis.tar.xz https://uploads.github.com/repos/opengisch/osgeo4travis/releases/2768243/assets?name=osgeo4travis.tar.xz -H "Content-Type:application/zip"