From a72aab7f27e4dd7af8b937de652c48dc95acbac4 Mon Sep 17 00:00:00 2001 From: Jack Spagnoli Date: Tue, 9 Dec 2025 11:12:53 +0000 Subject: [PATCH 1/2] outputs next version tag --- .github/workflows/tag-release.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index eb4a88b..56c18a3 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -51,6 +51,9 @@ on: change_set_version: description: "The change set version for deployments" value: ${{ jobs.tag_release.outputs.change_set_version }} + next_version_tag: + description: "The next version tag that will be created" + value: ${{ jobs.tag_release.outputs.next_version_tag }} secrets: NPM_TOKEN: required: false @@ -173,6 +176,7 @@ jobs: outputs: version_tag: ${{steps.output_version_tag.outputs.VERSION_TAG}} change_set_version: ${{ steps.output_change_set_version.outputs.CHANGE_SET_VERSION }} + next_version_tag: ${{ steps.output_version_tag.outputs.NEXT_VERSION_TAG }} steps: - name: Fetch asdf artifact uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 @@ -251,11 +255,11 @@ jobs: if: ${{ inputs.extra_artifact_name != '' }} uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 with: - artifact-ids: ${{ inputs.extra_artifact_id }} - github-token: ${{ secrets.GITHUB_TOKEN }} - repository: ${{ inputs.extra_artifact_repository }} - run-id: ${{ inputs.extra_artifact_run_id }} - + artifact-ids: ${{ inputs.extra_artifact_id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + repository: ${{ inputs.extra_artifact_repository }} + run-id: ${{ inputs.extra_artifact_run_id }} + - name: Set VERSION_TAG based on dry_run flag id: output_version_tag run: | @@ -304,6 +308,7 @@ jobs: fi echo "VERSION_TAG=${VERSION_TAG}" >> "$GITHUB_OUTPUT" echo "VERSION_TAG=${VERSION_TAG}" >> "$GITHUB_ENV" + echo "NEXT_VERSION_TAG=${NEW_VERSION_TAG}" >> "$GITHUB_OUTPUT" env: GITHUB_TOKEN: ${{ github.token }} BRANCH_NAME: ${{ inputs.branch_name }} From 5984976cf6d15ae5580bb2b442745da08aa8615f Mon Sep 17 00:00:00 2001 From: Jack Spagnoli Date: Tue, 9 Dec 2025 11:13:08 +0000 Subject: [PATCH 2/2] outputs workflow id --- .github/workflows/tag-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 56c18a3..0659061 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -350,7 +350,7 @@ jobs: body: | ## Info [See code diff](${{ github.event.compare }}) - [Release workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) + [Release workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) - Workflow ID: ${{ github.run_id }} It was initialized by [${{ github.event.sender.login }}](${{ github.event.sender.html_url }})