From 227ff781d41d797d8193eca38abcdc5b76da3b13 Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Mon, 10 Jun 2024 13:43:05 +0300 Subject: [PATCH] USe the deploy target with the right profile, include in the profile configuration GPG parameters --- .github/workflows/version-and-release.yaml | 4 ++-- pom.xml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-and-release.yaml b/.github/workflows/version-and-release.yaml index 7f0fa2cd74..f8993eba55 100644 --- a/.github/workflows/version-and-release.yaml +++ b/.github/workflows/version-and-release.yaml @@ -41,7 +41,7 @@ jobs: mvn --no-transfer-progress \ --batch-mode \ -Dgpg.passphrase='${{ secrets.OSSH_GPG_SECRET_KEY_PASSWORD }}' \ - deploy -P release + deploy -P sonatype-oss-release env: MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}} - MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}} \ No newline at end of file + MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}} diff --git a/pom.xml b/pom.xml index 9be9d982f7..bc00047d9d 100644 --- a/pom.xml +++ b/pom.xml @@ -1019,6 +1019,12 @@ org.apache.maven.plugins maven-gpg-plugin + + + --pinentry-mode + loopback + + sign-artifacts