[Tarantool-patches] [PATCH v1] gitlab-ci: remove tag from pushed branch commit

Alexander Turenko alexander.turenko at tarantool.org
Thu Oct 15 02:32:09 MSK 2020


>    - /bin/bash -c "pwd && ls -d .git || git clone --recurse-submodules ${CI_REPOSITORY_URL} ."
> +  - /bin/bash -c "[ -z \"${CI_COMMIT_TAG:-}\" ] && git tag -d \"$(git tag --points-at HEAD)\" 2>/dev/null || true"
>    - /bin/bash -c "! docker -v || (uid=`id -u` ; gid=`id -g` ; docker run -w /source -v ${PWD}:/source -i packpack/packpack:el-7 /bin/bash -c \"chown -R \$uid:\$gid * .[^.]*\")"
>    - /bin/bash -c "git fetch -p && git checkout -f ${CI_COMMIT_SHORT_SHA}"
>    - /bin/bash -c "git submodule sync --recursive && git submodule update --force --init --recursive || git submodule update --recursive --init"

Just observed: we should remove the tag from ${CI_COMMIT_SHORT_SHA}, not
HEAD. My bad. Fixed it in the pushed commit.

Pushed to master, 2.5, 2.4 and 1.10.


More information about the Tarantool-patches mailing list