Skip to content
Snippets Groups Projects
Commit 5367cd4a authored by lcottret's avatar lcottret
Browse files

Merge branch 'hotfix/fixDeployCentral2'

parents ec95dc18 a64946e9
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,11 @@ deployCentral:
- export GPG_TTY=$(tty)
- gpg -v --batch --import <(echo "${GPG_PRIVATE_KEY}")
script:
- mvn $MAVEN_CLI_OPTS release:prepare -DautoVersionSubmodules=true -Dmaven.test.skip=true -DscmCommentPrefix="[skip ci]" -DupdateWorkingCopyVersions=false -DpushChanges=false
- mvn $MAVEN_CLI_OPTS release:perform -Darguments=-Dgpg.passphrase=${GPG_PASSPHRASE} -DlocalCheckout=true
- git config --global user.email "$env:GITLAB_USER_EMAIL"
- git config --global user.name "$env:GITLAB_USER_NAME"
- git checkout -B "$CI_COMMIT_REF_NAME"
- mvn $MAVEN_CLI_OPTS release:prepare -DautoVersionSubmodules=true -Dmaven.test.skip=true -DscmCommentPrefix="[skip ci]" -DupdateWorkingCopyVersions=false -DpushChanges=false -DskipTests
- mvn $MAVEN_CLI_OPTS release:perform -Darguments=-Dgpg.passphrase=${GPG_PASSPHRASE} -DlocalCheckout=true -DskipTests -Dmaven.test.skip=true
only:
- master
tags:
......
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