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 d3c70c1d9be279f7c7762614eac4dbcef26dc2ff
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Jan 14 15:11:45 2026 +0000

    Send phase back to ATR on distribute
---
 .github/workflows/distribute-maven.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/distribute-maven.yml 
b/.github/workflows/distribute-maven.yml
index 081c356..96630b8 100644
--- a/.github/workflows/distribute-maven.yml
+++ b/.github/workflows/distribute-maven.yml
@@ -197,18 +197,20 @@ jobs:
                 --arg uid "$INPUTS_ASF_UID" \
                 --arg project "$INPUTS_PROJECT" \
                 --arg version "$INPUTS_VERSION" \
+                --arg phase "$INPUTS_PHASE" \
                 --arg platform "MAVEN" \
                 --arg distribution_owner_namespace 
"$INPUTS_DISTRIBUTION_OWNER_NAMESPACE" \
                 --arg distribution_package "$INPUTS_DISTRIBUTION_PACKAGE" \
                 --arg distribution_version "$INPUTS_DISTRIBUTION_VERSION" \
                 --argjson staging "$STAGING_JSON" \
                 --argjson details "$DETAILS_JSON" \
-                '{publisher:$publisher, jwt:$jwt, asf_uid:$uid, 
project:$project, version:$version, platform:$platform, 
distribution_owner_namespace:$distribution_owner_namespace, 
distribution_package:$distribution_package, 
distribution_version:$distribution_version, staging:$staging, 
details:$details}' |
+                '{publisher:$publisher, jwt:$jwt, asf_uid:$uid, 
project:$project, version:$version, phase:$phase, platform:$platform, 
distribution_owner_namespace:$distribution_owner_namespace, 
distribution_package:$distribution_package, 
distribution_version:$distribution_version, staging:$staging, 
details:$details}' |
             curl -sS --fail-with-body -X POST -H 'Content-Type: 
application/json' -d @- \
               "https://${ATR_HOST}/api/distribute/record_from_workflow";
         env:
           INPUTS_PROJECT: ${{ inputs.project }}
           INPUTS_VERSION: ${{ inputs.version }}
+          INPUTS_PHASE: ${{ inputs.phase }}
           INPUTS_ASF_UID: ${{ inputs.asf-uid }}
           INPUTS_DISTRIBUTION_OWNER_NAMESPACE: ${{ 
inputs.distribution-owner-namespace }}
           INPUTS_DISTRIBUTION_PACKAGE: ${{ inputs.distribution-package }}


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

Reply via email to