From 29d7fa20924d88c951ddd9a4391ae3d55fedaab0 Mon Sep 17 00:00:00 2001 From: James Kessler Date: Wed, 16 Oct 2024 17:19:50 -0400 Subject: [PATCH] Add two more helpful steps to update-major-version-tag workflow (#231) Add steps to update-major-version-tag workflow to: * Reset the major version tag on the local runner in case it's needed for subsequent workflow steps; and * Display details on the new major version tag to verify it points to the latest release. --- .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