Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ release: - for JOB in jobs/*; do - for VERSION in jobs/${JOB}/versions/*; do - OUT=$(curl -s -D "/dev/null" https://gitlab.com/api/v4/projects/go2scale%2Fhub/releases/${JOB}-${VERSION%.*} | jq -r ".message") - if [[ OUT =~ "null" ]]; then - if [[ ! ${OUT} =~ "null" ]]; then - echo "no release for this version" - fi - done Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ release: - for JOB in jobs/*; do - for VERSION in jobs/${JOB}/versions/*; do - OUT=$(curl -s -D "/dev/null" https://gitlab.com/api/v4/projects/go2scale%2Fhub/releases/${JOB}-${VERSION%.*} | jq -r ".message") - if [[ OUT =~ "null" ]]; then - if [[ ! ${OUT} =~ "null" ]]; then - echo "no release for this version" - fi - done Loading