diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f367cca0abb898f30e88f7742a805bc1e33c2366..83f34df990ff1e4a1a128755bcfe548b02aa41ec 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