You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/03 20:20:46 UTC

[logging-log4j-tools] branch master updated: INFRA-23996 Try to make `sign-maven-plugin` work, take 2

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f92b70  INFRA-23996 Try to make `sign-maven-plugin` work, take 2
9f92b70 is described below

commit 9f92b70ace7d63275432e8e5362bf09fe85e2904
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 3 21:21:39 2023 +0100

    INFRA-23996 Try to make `sign-maven-plugin` work, take 2
---
 .github/workflows/build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5fcd5f7..4defcce 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -164,7 +164,6 @@ jobs:
       - name: Deploy
         # `package install:install deploy:deploy` goal is needed to deploy without configuring the plugin in the POM.
         # For details see: https://maven.apache.org/plugins/maven-gpg-plugin/examples/deploy-signed-artifacts.html
-        # `package` must precede `gpg:sign`.
         run: |
           gpg --list-secret-keys
           ./mvnw \
@@ -172,7 +171,8 @@ jobs:
             -DskipTests=true \
             -DinstallAtEnd=true \
             -DdeployAtEnd=true \
-            package sign:sign install:install deploy:deploy
+            -P release \
+            package install:install deploy:deploy
         env:
           NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
           NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}