From 48d39d2b15802d229949f3a84e443dd8431a2e88 Mon Sep 17 00:00:00 2001 From: James Kessler Date: Wed, 16 Oct 2024 14:08:58 -0700 Subject: [PATCH] Add a couple of steps to: (1) reset the major version tag on the local runner in case it's needed for suqequent actions; and (2) Display details on the new major version tag to verify it worked as expected. --- .github/workflows/update-major-version-tag.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update-major-version-tag.yml b/.github/workflows/update-major-version-tag.yml index 0d9ca810..ed7cacd2 100644 --- a/.github/workflows/update-major-version-tag.yml +++ b/.github/workflows/update-major-version-tag.yml @@ -24,3 +24,9 @@ jobs: git fetch --tags git tag -f ${{ env.major_version }} ${{ github.event.release.tag_name }} git push origin ${{ env.major_version }} --force + + - name: Fetch Updated Tags + run: git fetch --tags --force + + - name: Verify Tag + run: git show ${{ env.major_version }} \ No newline at end of file