Add debug line plus test exit condition
This commit is contained in:
parent
96a4882575
commit
999aa63aca
@ -12,6 +12,8 @@ fetch-versions:
|
|||||||
- "HALIA_VER=$(curl --request GET -L --header 'Accept: application/json' --header 'Content-Type: application/json' https://git.halia.dev/api/v4/projects/24/registry/repositories/6/tags | jq -r '.[].location' | grep -v latest | cut -d ':' -f2 | sort -V | tail -1)"
|
- "HALIA_VER=$(curl --request GET -L --header 'Accept: application/json' --header 'Content-Type: application/json' https://git.halia.dev/api/v4/projects/24/registry/repositories/6/tags | jq -r '.[].location' | grep -v latest | cut -d ':' -f2 | sort -V | tail -1)"
|
||||||
- "GITLAB_VER=$(git tag | sort -V | grep ce | tail -1 | cut -d '+' -f1)"
|
- "GITLAB_VER=$(git tag | sort -V | grep ce | tail -1 | cut -d '+' -f1)"
|
||||||
- if [ $HALIA_VER != GITLAB_VER ]; then echo "1" >> /tmp/update; fi
|
- if [ $HALIA_VER != GITLAB_VER ]; then echo "1" >> /tmp/update; fi
|
||||||
|
- cat /tmp/update
|
||||||
|
- exit 0
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- /tmp/update
|
- /tmp/update
|
||||||
|
Reference in New Issue
Block a user