Commit bc845dda authored by Matija Obreza's avatar Matija Obreza
Browse files

CI: Publish release- branch snapshots

parent be467008
......@@ -56,6 +56,21 @@ publish snapshot artifacts:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
publish release snapshot artifacts:
stage: deploy
image: maven:3-openjdk-11
dependencies:
- run tests
rules:
- if: '$CI_COMMIT_BRANCH =~ /^release\-/'
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
script:
# Package the clean app
- mvn $MAVEN_CLI_OPTS -DskipTests=true clean deploy --settings .ci-maven-settings.xml
publish artifacts on central:
stage: deploy
dependencies:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment