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 2aff89de57e81c2640cce2cd6b39359d35a28c36 Author: Alastair McFarlane <[email protected]> AuthorDate: Mon Jan 19 11:57:46 2026 +0000 Set tag in POM --- .github/workflows/distribute-maven-stg.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/distribute-maven-stg.yml b/.github/workflows/distribute-maven-stg.yml index 3a0fd6a..1207413 100644 --- a/.github/workflows/distribute-maven-stg.yml +++ b/.github/workflows/distribute-maven-stg.yml @@ -59,6 +59,7 @@ jobs: NJORD_STORE: njord-deployer RAO_USERNAME: ${{ secrets.RAO_USERNAME }} RAO_PASSWORD: ${{ secrets.RAO_PASSWORD }} + TAG_NAME: "${{ inputs.distribution-owner-namespace }}-${{ inputs.distribution-package }}-${{ inputs.distribution-version }}" steps: - name: Create settings.xml @@ -113,6 +114,7 @@ jobs: <properties> <njord.publisher.sonatype-nx3.releaseRepositoryName>maven-staging</njord.publisher.sonatype-nx3.releaseRepositoryName> + <njord.tag>${TAG_NAME}</njord.tag> </properties> </project> EOF @@ -254,16 +256,10 @@ jobs: - name: Create staging tag run: | - TAG_NAME="$INPUTS_DISTRIBUTION_OWNER_NAMESPACE-$INPUTS_DISTRIBUTION_PACKAGE-$INPUTS_DISTRIBUTION_VERSION" curl -X POST -u "$RAO_USERNAME:$RAO_PASSWORD" \ "https://repository.apache.org:4443/service/rest/v1/tags" \ -H "Content-Type: application/json" \ -d "{\"name\": \"$TAG_NAME\"}" - echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV - env: - INPUTS_DISTRIBUTION_OWNER_NAMESPACE: ${{ inputs.distribution-owner-namespace }} - INPUTS_DISTRIBUTION_PACKAGE: ${{ inputs.distribution-package }} - INPUTS_DISTRIBUTION_VERSION: ${{ inputs.distribution-version }} - name: Get store ID and publish --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
