From a71c4772c6397700a50f555d6dd76717d1cfacd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Mon, 28 Aug 2017 10:18:35 +0200 Subject: [PATCH] Get the last tag via the GitHub API. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c56d33d..dcdccc8 100644 --- a/README.md +++ b/README.md @@ -34,5 +34,5 @@ You can also launch all builders in parallel. ## Automatic export to GitHub $ 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