Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit2108 committed Nov 6, 2024
1 parent 33366aa commit 4f19af6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f19af6

Please sign in to comment.