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
commit 64485ed139149bc0ce33c304c0b1c70b8af16982 Author: Alastair McFarlane <[email protected]> AuthorDate: Wed Jan 21 09:15:25 2026 +0000 Enable automatic publishing --- .github/workflows/distribute-maven-stg.yml | 8 ++++---- .github/workflows/distribute-maven.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/distribute-maven-stg.yml b/.github/workflows/distribute-maven-stg.yml index 864183e..1a4fdbf 100644 --- a/.github/workflows/distribute-maven-stg.yml +++ b/.github/workflows/distribute-maven-stg.yml @@ -228,9 +228,9 @@ jobs: [[ "$f" =~ \.(sha1|sha256|sha512|md5)$ ]] && continue [[ "$f" == "$DIR/${BASE}.jar" ]] && continue [[ "$f" == "$DIR/${BASE}.pom" ]] && continue - + suffix="${f#$DIR/${BASE}}" - + if [[ "$suffix" =~ ^\.([^.]+)\.asc$ ]]; then classifier="" type="${BASH_REMATCH[1]}.asc" @@ -243,12 +243,12 @@ jobs: else continue fi - + FILES="$FILES,$f" CLASSIFIERS="$CLASSIFIERS,$classifier" TYPES="$TYPES,$type" done - + # Strip leading comma FILES="${FILES#,}" CLASSIFIERS="${CLASSIFIERS#,}" diff --git a/.github/workflows/distribute-maven.yml b/.github/workflows/distribute-maven.yml index 6bfcec3..20c81bb 100644 --- a/.github/workflows/distribute-maven.yml +++ b/.github/workflows/distribute-maven.yml @@ -225,9 +225,9 @@ jobs: [[ "$f" =~ \.(sha1|sha256|sha512|md5)$ ]] && continue [[ "$f" == "$DIR/${BASE}.jar" ]] && continue [[ "$f" == "$DIR/${BASE}.pom" ]] && continue - + suffix="${f#$DIR/${BASE}}" - + if [[ "$suffix" =~ ^\.([^.]+)\.asc$ ]]; then classifier="" type="${BASH_REMATCH[1]}.asc" @@ -240,12 +240,12 @@ jobs: else continue fi - + FILES="$FILES,$f" CLASSIFIERS="$CLASSIFIERS,$classifier" TYPES="$TYPES,$type" done - + # Strip leading comma FILES="${FILES#,}" CLASSIFIERS="${CLASSIFIERS#,}" @@ -274,7 +274,7 @@ jobs: run: | echo "Publishing store: $NJORD_STORE-00001" mvn njord:validate -Dnjord.store=$NJORD_STORE-00001 - mvn njord:publish -Dnjord.store=$NJORD_STORE-00001 + mvn njord:publish -Dnjord.store=$NJORD_STORE-00001 -Dnjord.publishingType=automatic mvn njord:drop -Dnjord.store=$NJORD_STORE-00001 env: INPUTS_DISTRIBUTION_PACKAGE: ${{ inputs.distribution-package }} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
