mirror of https://github.com/MISP/misp-packer
Get the last tag via the GitHub API.
parent
f781ff7522
commit
a71c4772c6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue