From 217f3c06bb363fa2b2cb2774b8aa14d53efac85a Mon Sep 17 00:00:00 2001 From: "a.petraki" <a.petraki@perx.ru> Date: Wed, 24 Jul 2024 17:27:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B8=D0=BC=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B5=D0=BB=D0=B8=D0=B7=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9=20=D0=B2=D0=B5=D1=82=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f367cca0..83f34df9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,11 +123,12 @@ create_release_branch: git config user.name "gitlab-ci" git remote remove gitlab_origin || true git remote add gitlab_origin https://release_gitlab_ci:$PERXIS_GO_REPO_ACCESS_TOKEN@git.perx.ru/perxis/perxis-go.git - RELEASE_BRANCH=${VERSION::-2} + RELEASE_BRANCH=${VERSION:1:-2} git branch release/$RELEASE_BRANCH || true git push gitlab_origin release/$RELEASE_BRANCH fi + release: stage: release image: registry.gitlab.com/gitlab-org/release-cli:latest -- GitLab