diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aaca394..8cc6da1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ build-image: - "GITLAB_VER=$(git tag | sort -V | grep -v rc | grep ce | tail -1)" - "GITLAB_SHORT_VER=$(echo $GITLAB_VER | cut -d '+' -f 1)" - wget "https://img.shields.io/badge/image version-$GITLAB_SHORT_VER-informational" -O ../image_version.svg - - if [ $HALIA_VER != $GITLAB_VER ]; then echo "No update available, exciting..."; exit 0; fi + - if [ $HALIA_VER == $GITLAB_SHORT_VER ]; then echo "No update available, exciting..."; exit 0; fi - git checkout $GITLAB_VER - "GITLAB_VER=$(echo $GITLAB_VER | tr '+' -)" - NEW_URL="wget --no-check-certificate --content-disposition 'https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_${GITLAB_VER}_arm64.deb/download.deb' -O /tmp/gitlab.deb"