From 7206a6322d8fe60442e5d6b97de9909af518f656 Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Thu, 11 Sep 2025 11:52:01 +0100 Subject: [PATCH] Revert "AAE-37847 Create Git tag at the end of release branch process when on patch PR (#11162)" (#11188) This reverts commit a4e62974eaa9d0f20ef5b41b28a2f6b9963df134. --- .github/workflows/release-branch.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 865ff6fc47..c4894d4149 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -66,8 +66,6 @@ jobs: release-npm: needs: [setup] - outputs: - release_version: ${{ steps.set-version.outputs.release_version }} timeout-minutes: 30 runs-on: ubuntu-latest permissions: @@ -88,10 +86,9 @@ jobs: dry-run-flag: ${{ inputs.dry-run-flag }} - uses: ./.github/actions/download-node-modules-and-artifacts - name: Set libraries versions - id: set-version run: | set -u; - ./scripts/github/build/bumpversion.sh + ./scripts/update-version.sh -gnu || exit 1; - name: Set migrations uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: @@ -108,7 +105,7 @@ jobs: node-version-file: '.nvmrc' registry-url: 'https://npm.pkg.github.com' scope: '@alfresco' - - run: npx nx run-many -t npm-publish --tag=$TAG_NPM || exit 1 + - run: npx nx run-many --target=npm-publish --tag=branch|| exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.PAT_WRITE_PKG }} - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 @@ -117,25 +114,10 @@ jobs: node-version-file: '.nvmrc' registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}' scope: '@alfresco' - - run: npx nx run-many -t npm-publish --tag=$TAG_NPM || exit 1 + - run: npx nx run-many --target=npm-publish --tag=branch || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }} - create-git-tag: - runs-on: ubuntu-latest - needs: [setup, release-npm] - name: Create github tag - permissions: - contents: write - steps: - - name: Checkout repository - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - with: - fetch-depth: 1 - - uses: './.github/actions/create-git-tag' - with: - tagName: ${{ needs.release-npm.outputs.release_version }} - npm-check-bundle: needs: [release-npm] timeout-minutes: 15