forked from Docker/baseimage-docker
Fix scheduled-build release tag parsing
This commit is contained in:
committed by
Jeshua Ben Joseph
parent
4a0a4053ae
commit
3e6f99e74c
@@ -39,7 +39,7 @@ jobs:
|
||||
--exclude-pre-releases \
|
||||
--exclude-drafts \
|
||||
--json tagName \
|
||||
--jq "[.[] | select(.tagName | startswith(\"${{ matrix.ubuntu_codename }}-\"))] | first | .tagName" | jq -r '.')
|
||||
--jq "[.[] | select(.tagName | startswith(\"${{ matrix.ubuntu_codename }}-\"))] | first | .tagName // empty")
|
||||
|
||||
if [ -z "${LATEST_TAG}" ] || [ "${LATEST_TAG}" == "null" ]; then
|
||||
echo "No release found for ${{ matrix.ubuntu_codename }} track. Skipping."
|
||||
|
||||
Reference in New Issue
Block a user