From fca8d16a812e7fbee0f10e08bbe7bba2bca28edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Wed, 23 Aug 2017 23:52:00 +0200 Subject: [PATCH] Updated README. --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6254f57..58cdb9d 100644 --- a/README.md +++ b/README.md @@ -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 " \ + -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"