diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0ed84b0..955de261 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: GPG_PASSPHRASE # Env var that holds the key's passphrase - name: Publish to the Maven Central Repository - run: mvn --no-transfer-progress --batch-mode deploy + run: mvn --no-transfer-progress --batch-mode deploy -DperformRelease=true env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME_OSSRH }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD_OSSRH }} diff --git a/pom.xml b/pom.xml index 9a4b1b82..edb502d5 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ 0.8.10 3.9.1.2184 - 3.1.0 + 3.1.0 sebastienvermeille @@ -149,7 +149,7 @@ org.apache.maven.plugins maven-gpg-plugin - ${plugin.maven.gpg.version} + ${maven.gpg.plugin.version} sign-artifacts @@ -276,7 +276,7 @@ org.apache.maven.plugins maven-gpg-plugin - ${plugin.maven.gpg.version} + ${maven.gpg.plugin.version} org.sonatype.plugins