Updated README.

pull/3/head
Cédric Bonhomme 2017-08-25 14:56:01 +02:00
parent 08153392f7
commit 818b06eccb
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 3 additions and 10 deletions

View File

@ -27,13 +27,6 @@ You can also launch all builders in parallel.
### Automatic export to GitHub
- create a new release: https://developer.github.com/v3/repos/releases/#create-a-release
- upload a release asset: https://developer.github.com/v3/repos/releases/#upload-a-release-asset
Example of a binary upload with curl (from the GitHub blog):
curl -H "Authorization: token <yours>" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/x-tar" \
--data-binary @output-virtualbox-iso/MISP_demo.ova \
"https://uploads.github.com/repos/MISP/MISP/releases/123/assets?name=MISP_demo.ova"
$ GITHUB_AUTH_TOKEN=<your-github-auth-token>
$ TAG=v2.4.79
$ ./upload.sh github_api_token=$GITHUB_AUTH_TOKEN owner=MISP repo=MISP tag=$TAG filename=./output-virtualbox-iso/MISP_demo.ova