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 6f73530 Make sure validation error causes a failure
6f73530 is described below
commit 6f735300aaacc26d072f9c97f8ff6bab4565fc10
Author: Alastair McFarlane <[email protected]>
AuthorDate: Mon Jan 19 17:08:50 2026 +0000
Make sure validation error causes a failure
---
.github/workflows/distribute-maven-stg.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/distribute-maven-stg.yml
b/.github/workflows/distribute-maven-stg.yml
index 69b16cf..e8bd61a 100644
--- a/.github/workflows/distribute-maven-stg.yml
+++ b/.github/workflows/distribute-maven-stg.yml
@@ -261,7 +261,9 @@ jobs:
- name: Get store ID and publish
+ shell: bash
run: |
+ set -euxo pipefail
echo "Publishing 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:publish -Dnjord.store=$NJORD_STORE-00001
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]