From 4f19af6b18585ddde9b45920ad64e72424585fb7 Mon Sep 17 00:00:00 2001 From: Bruce Wayne Date: Wed, 6 Nov 2024 14:39:37 +0530 Subject: [PATCH] minor changes --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 734475d..fb3c4be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,16 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # Ensures full git history for release-it + + # Fetch all tags explicitly + - name: Fetch all tags + run: git fetch --tags + + # Set HEAD to the latest tag (to avoid symbolic ref issue) + - name: Set HEAD to latest tag + run: | + TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) + git checkout $TAG - name: Setup uses: ./.github/actions/setup