Updated README.

pull/3/head
Cédric Bonhomme 2017-08-23 23:52:00 +02:00
parent 9249761866
commit fca8d16a81
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 15 additions and 1 deletions

View File

@ -16,4 +16,18 @@ Launch the generation:
$ packer build misp.json
A VirtualBox image will be generated and stored in the folder
*output-virtualbox-iso*. You can import it in VirtualBox.
*output-virtualbox-iso*. You can directly import it in VirtualBox.
### 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/zip" \
--data-binary @build/mac/package.zip \
"https://uploads.github.com/repos/hubot/singularity/releases/123/assets?name=1.0.0-mac.zip"