diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0f8404ed201e23abdd761e41a08af8dd14ff1d3d..3f52a995952c508611662f536ba2c52ad873a8d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,17 +3,17 @@ stages:
- deploy
run tests in branches:
- stage: compile
- image: maven:3-jdk-8
+ stage: compile
+ image: maven:3-jdk-8
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
except:
- master
- - tags
+ - /^genesys\-client\-api\-/
-publish artifacts:
- stage: deploy
- image: maven:3-jdk-8
+publish snapshot artifacts:
+ stage: deploy
+ image: maven:3-jdk-8
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
@@ -21,4 +21,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
+ before_script:
+ - echo "${GPG_KEY_SECRET}" | gpg --batch --import
+ - gpg --list-keys
+ script:
+ - mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U
+ only:
+ - /^genesys\-client\-api\-/
diff --git a/README.md b/README.md
index 55f700fe731510cd94ca479baf05befbef8ee803..676b168438a2d629b00f1eaa9c317999e0d1ad83 100644
--- a/README.md
+++ b/README.md
@@ -50,13 +50,11 @@ try {
## How to reference `genesys-client-api`
-The genesys-client-api snapshots are published on [OSSRH](https://oss.sonatype.org/content/groups/public). Add the dependency to your Java project:
-
```xml
org.genesys-pgr
genesys-client-api
- 1.0
+ 1.1
```
@@ -66,7 +64,7 @@ Or for the development version:
org.genesys-pgr
genesys-client-api
- 1.1-SNAPSHOT
+ 1.2-SNAPSHOT
```
diff --git a/pom.xml b/pom.xml
index 76cdf3fe8448e5c831833f41071dcd6d2fbc4220..95d357190edd8b6d8a227e06a220b365e6d1a7aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
org.genesys-pgr
genesys-client-api
- 1.1-SNAPSHOT
+ 1.2-SNAPSHOT
Genesys API client library
jar
https://bitbucket.org/genesys2/genesys-client-api
@@ -20,8 +20,8 @@
https://bitbucket.org/genesys2/genesys-client-api.git
scm:git:git@bitbucket.org:genesys2/genesys-client-api.git
git@bitbucket.org:genesys2/genesys-client-api.git
- HEAD
-
+ HEAD
+
@@ -183,6 +183,13 @@
sign
+
+
+
+ --pinentry-mode
+ loopback
+
+