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

arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-actions.git


The following commit(s) were added to refs/heads/main by this push:
     new 0474190  Align error handling and fix store name in validation
0474190 is described below

commit 04741906f3f38a64ed4489bb12ad78b99424a7a0
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Jan 28 12:03:51 2026 +0000

    Align error handling and fix store name in validation
---
 .github/workflows/distribute-maven-stg.yml | 2 +-
 .github/workflows/distribute-maven.yml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/distribute-maven-stg.yml 
b/.github/workflows/distribute-maven-stg.yml
index 292abc6..fd32bd8 100644
--- a/.github/workflows/distribute-maven-stg.yml
+++ b/.github/workflows/distribute-maven-stg.yml
@@ -288,7 +288,7 @@ jobs:
         run: |
           set -euxo pipefail
           echo "Validating store: $NJORD_STORE-00001"
-          mvn njord:validate -Dnjord.store=njord-deployer-00001 
-Dnjord.publisher=sonatype-cp -Dnjord.details=true -q | sed -n '/Central 
Requirements/,/ArtifactStore.*failed validation/{/ArtifactStore.*failed 
validation/!s/^\[ERROR\] *//p}' | tee .err
+          mvn njord:validate -Dnjord.store=$NJORD_STORE-00001 
-Dnjord.publisher=sonatype-cp -Dnjord.details=true -q | sed -n '/Central 
Requirements/,/ArtifactStore.*failed validation/{/ArtifactStore.*failed 
validation/!s/^\[ERROR\] *//p}' | tee .err
           echo "Publishing store: $NJORD_STORE-00001"
           mvn njord:publish -Dnjord.store=$NJORD_STORE-00001
           mvn njord:drop -Dnjord.store=$NJORD_STORE-00001
diff --git a/.github/workflows/distribute-maven.yml 
b/.github/workflows/distribute-maven.yml
index 143fe47..e13549f 100644
--- a/.github/workflows/distribute-maven.yml
+++ b/.github/workflows/distribute-maven.yml
@@ -276,7 +276,7 @@ jobs:
       - name: Get store ID and publish
         run: |
           echo "Publishing store: $NJORD_STORE-00001"
-          mvn njord:validate -Dnjord.store=$NJORD_STORE-00001
+          mvn njord:validate -Dnjord.store=$NJORD_STORE-00001 
-Dnjord.publisher=sonatype-cp -Dnjord.details=true -q | sed -n '/Central 
Requirements/,/ArtifactStore.*failed validation/{/ArtifactStore.*failed 
validation/!s/^\[ERROR\] *//p}' | tee .err
           mvn njord:publish -Dnjord.store=$NJORD_STORE-00001 
-Dnjord.publishingType=automatic
           mvn njord:drop -Dnjord.store=$NJORD_STORE-00001
         env:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to