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

CI: publish SNAPSHOT artifacts in `*-snapshot` branches to maven

parent ec9b9456
...@@ -25,6 +25,7 @@ run tests in branches: ...@@ -25,6 +25,7 @@ run tests in branches:
except: except:
- master - master
- /^application\-blocks\-/ - /^application\-blocks\-/
- /\-snapshot$/
publish snapshot artifacts: publish snapshot artifacts:
stage: deploy stage: deploy
...@@ -36,6 +37,7 @@ publish snapshot artifacts: ...@@ -36,6 +37,7 @@ publish snapshot artifacts:
- mvn clean deploy --settings .ci-maven-settings.xml -B -U - mvn clean deploy --settings .ci-maven-settings.xml -B -U
only: only:
- master - master
- /\-snapshot$/
publish artifacts on central: publish artifacts on central:
stage: deploy stage: deploy
......
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