From c1c65a3a7b06fcfc5704d6ab29124a3635b6a5df Mon Sep 17 00:00:00 2001 From: Christopher Moyer Date: Fri, 18 Aug 2023 23:43:44 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90ea01f..a3959ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,7 +68,7 @@ upload artifacts: - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - git config --global user.email "gitlab@c4181.xyz" - git config --global user.name "gitlab_runner" - - git checkout -B "$CI_BUILD_REF_NAME" + - git checkout -B "$CI_COMMIT_BRANCH" - 'mvn -B release:prepare -s ci_settings.xml' - 'mvn -B release:perform -s ci_settings.xml' only: