From 198c76d9389f6dea595b48b4934c739ca63c3b75 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 1 Jan 2018 16:22:06 -0500 Subject: [PATCH] update latest versions script Signed-off-by: Jess Frazelle --- latest-versions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/latest-versions.sh b/latest-versions.sh index a000521..ee72a8c 100755 --- a/latest-versions.sh +++ b/latest-versions.sh @@ -24,6 +24,7 @@ get_latest() { # get the latest tag local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/tags") local tag=$(echo $resp | jq -e --raw-output .[0].name) + tag=${tag#release-} fi if [[ "$name" == "null" ]] || [[ "$name" == "" ]]; then