From 339639e3e43bc87f072d34f3ea4a975dbb08a0be Mon Sep 17 00:00:00 2001 From: vscaiceanu-1a <86055112+vscaiceanu-1a@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:47:55 +0200 Subject: [PATCH] fix(pipeline): release name is correctly computed based on latest tag --- .../ng-add/templates/github/__dot__github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@o3r/pipeline/schematics/ng-add/templates/github/__dot__github/workflows/main.yml b/packages/@o3r/pipeline/schematics/ng-add/templates/github/__dot__github/workflows/main.yml index 2bc1f6b76f..3f87847fa4 100644 --- a/packages/@o3r/pipeline/schematics/ng-add/templates/github/__dot__github/workflows/main.yml +++ b/packages/@o3r/pipeline/schematics/ng-add/templates/github/__dot__github/workflows/main.yml @@ -45,12 +45,12 @@ jobs: contents: write runs-on: <%= runner %> outputs: - nextVersionTag: ${{ steps.new-version.outputs.nextVersionTag }} + nextVersionTag: ${{ steps.newVersion.outputs.nextVersionTag }} steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: New version if: github.event_name != 'merge_group' - id: new-version + id: newVersion uses: AmadeusITGroup/otter/tools/github-actions/new-version@<%= actionVersionString %> with: defaultBranch: ${{ env.DEFAULT_BRANCH }}