Commit 23a5da6a authored by Matija Obreza's avatar Matija Obreza
Browse files

Only tags "application-blocks-*" published on central maven repository, master is snapshot

parent cb9f7112
......@@ -9,9 +9,9 @@ run tests in branches:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
except:
- master
- tags
- /^application\-blocks\-/
publish artifacts:
publish snapshot artifacts:
stage: deploy
image: maven:3-jdk-8
script:
......@@ -20,4 +20,14 @@ publish artifacts:
- mvn clean deploy --settings .ci-maven-settings.xml -B -U
only:
- master
- tags
publish artifacts on central:
stage: deploy
image: maven:3-jdk-8
script:
- echo "Using username ${GLIS_USERNAME} for authentication against https://glistest.planttreaty.org"
- echo "${GPG_KEY_SECRET}" | gpg --allow-secret-key-import --import
- gpg --list-keys
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U
only:
- /^application\-blocks\-/
Markdown is supported
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