diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index fee088f..466e7d3 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -23,10 +23,19 @@ jobs:
uses: joschi/setup-jdk@v2
with:
java-version: '8'
+ server-id: sonatype-nexus-staging # Value of the distributionManagement/repository/id field of the pom.xml
+ server-username: CI_DEPLOY_USERNAME # env variable for username in deploy
+ server-password: CI_DEPLOY_PASSWORD # env variable for token in deploy
+ gpg-private-key: ${{ secrets.CI_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
+ gpg-passphrase: CI_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Release
if: ${{ !contains(github.event.head_commit.message, '[maven-release-plugin]') }}
run: |
echo "Preparing release ${RELEASE_VERSION}..."
- mvn --settings settings.xml -B release:prepare -Pdo-release -DreleaseVersion=${RELEASE_VERSION} -DdevelopmentVersion=${DEVELOP_VERSION}
- mvn --settings settings.xml release:perform -Pdo-release
\ No newline at end of file
+ mvn -B release:prepare -Pdo-release -DreleaseVersion=${RELEASE_VERSION} -DdevelopmentVersion=${DEVELOP_VERSION}
+ mvn release:perform -Pdo-release
+ env:
+ CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
+ CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
+ CI_GPG_PASSPHRASE: ${{ secrets.CI_GPG_PASSPHRASE }}
diff --git a/apikana-maven-plugin/pom.xml b/apikana-maven-plugin/pom.xml
index 83942e1..d05f98f 100644
--- a/apikana-maven-plugin/pom.xml
+++ b/apikana-maven-plugin/pom.xml
@@ -5,7 +5,7 @@
org.swisspush.apikana
apikana
- 0.4.22-SNAPSHOT
+ 0.4.23-SNAPSHOT
org.swisspush.maven.plugins
diff --git a/apikana-parent/pom.xml b/apikana-parent/pom.xml
index 476d678..69ae63d 100644
--- a/apikana-parent/pom.xml
+++ b/apikana-parent/pom.xml
@@ -5,7 +5,7 @@
org.swisspush.apikana
apikana
- 0.4.22-SNAPSHOT
+ 0.4.23-SNAPSHOT
apikana-parent
diff --git a/pom.xml b/pom.xml
index df6ae13..82b4c05 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
org.swisspush.apikana
apikana
- 0.4.22-SNAPSHOT
+ 0.4.23-SNAPSHOT
pom
${project.artifactId}
@@ -209,6 +209,11 @@
${session.executionRootDirectory}
230584D7
+
+
+ --pinentry-mode
+ loopback
+