Skip to content
Snippets Groups Projects
Commit 217f3c06 authored by Alena Petraki's avatar Alena Petraki :nail_care_tone1:
Browse files

Исправлено именование релизной ветки

parent bc6fc346
No related branches found
No related tags found
No related merge requests found
...@@ -123,11 +123,12 @@ create_release_branch: ...@@ -123,11 +123,12 @@ create_release_branch:
git config user.name "gitlab-ci" git config user.name "gitlab-ci"
git remote remove gitlab_origin || true 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 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 branch release/$RELEASE_BRANCH || true
git push gitlab_origin release/$RELEASE_BRANCH git push gitlab_origin release/$RELEASE_BRANCH
fi fi
release: release:
stage: release stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment