Update .gitlab-ci.yml

This commit is contained in:
Christopher Moyer 2022-10-14 02:07:10 +00:00
parent 1300053dcd
commit 50bb6d08b1

View file

@ -66,6 +66,8 @@ upload artifacts:
- ssh-add <(echo "$GITLAB_RUNNER_KEY") - ssh-add <(echo "$GITLAB_RUNNER_KEY")
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -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_BUILD_REF_NAME"
- 'mvn -B release:prepare -s ci_settings.xml' - 'mvn -B release:prepare -s ci_settings.xml'
- 'mvn -B release:perform -s ci_settings.xml' - 'mvn -B release:perform -s ci_settings.xml'