From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp14.mail.ru (smtp14.mail.ru [94.100.181.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 9B0A8469719 for ; Thu, 15 Oct 2020 02:31:50 +0300 (MSK) Date: Thu, 15 Oct 2020 02:32:09 +0300 From: Alexander Turenko Message-ID: <20201014233209.2gzpppbchxcg4yiq@tkn_work_nb> References: <8c07da569ada1bdc06a3edaa4425738fd7f0d89a.1602709112.git.avtikhon@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8c07da569ada1bdc06a3edaa4425738fd7f0d89a.1602709112.git.avtikhon@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v1] gitlab-ci: remove tag from pushed branch commit List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Alexander V. Tikhonov" Cc: tarantool-patches@dev.tarantool.org > - /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.