Get the last tag via the GitHub API.

pull/3/head
Cédric Bonhomme 2017-08-28 10:18:35 +02:00
parent f781ff7522
commit a71c4772c6
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 1 additions and 1 deletions

View File

@ -34,5 +34,5 @@ You can also launch all builders in parallel.
## Automatic export to GitHub ## Automatic export to GitHub
$ GITHUB_AUTH_TOKEN=<your-github-auth-token> $ GITHUB_AUTH_TOKEN=<your-github-auth-token>
$ TAG=v2.4.79 $ TAG=$(curl https://api.github.com/repos/MISP/MISP/releases/latest | jq -r '.tag_name')
$ ./upload.sh github_api_token=$GITHUB_AUTH_TOKEN owner=MISP repo=MISP tag=$TAG filename=./output-virtualbox-iso/MISP_demo.ova $ ./upload.sh github_api_token=$GITHUB_AUTH_TOKEN owner=MISP repo=MISP tag=$TAG filename=./output-virtualbox-iso/MISP_demo.ova