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