release commits should not be snapshoot published

This commit is contained in:
jem 2022-02-01 18:54:21 +01:00
parent a66986680b
commit 0acb415fda

View file

@ -104,6 +104,8 @@ uberjarjar:
publish-snapshot-lib: publish-snapshot-lib:
stage: publish stage: publish
rules: rules:
- if: $CI_PIPELINE_SOURCE != "push"
when: never
- if: $CI_COMMIT_TAG !~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/ - if: $CI_COMMIT_TAG !~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/
script: script:
- ./gradlew -x assemble -x test jar - ./gradlew -x assemble -x test jar