release commits should not be snapshoot published
This commit is contained in:
parent
a66986680b
commit
0acb415fda
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ uberjarjar:
|
|||
publish-snapshot-lib:
|
||||
stage: publish
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE != "push"
|
||||
when: never
|
||||
- if: $CI_COMMIT_TAG !~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/
|
||||
script:
|
||||
- ./gradlew -x assemble -x test jar
|
||||
|
|
Loading…
Reference in a new issue