We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2112bc commit 18781f7Copy full SHA for 18781f7
.gitlab-ci.yml
@@ -0,0 +1,19 @@
1
+stages:
2
+ - publish
3
+
4
+publish:
5
+ stage: publish
6
+ image: maven:3.8.8-eclipse-temurin-17
7
+ script: mvn deploy -s $MAVEN_SETTINGS
8
+ cache:
9
+ key: "$CI_COMMIT_REF_NAME"
10
+ paths:
11
+ - .m2/repository
12
+ rules:
13
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
14
+ when: on_success
15
+ - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+\-release/' # A specific tag with 'vX.Y.Z-release' pattern is created
16
+ - when: never
17
+# release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
18
+# tag_name: '$CI_COMMIT_TAG'
19
+# description: '$CI_COMMIT_TAG'
0 commit comments