mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-11 07:22:40 +01:00
update latest versions script
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user