Skip to content

Commit e3eb104

Browse files
committed
Add "fetch-tags" to release.yml workflow checkout
1 parent 54f8428 commit e3eb104

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- name: Release - Checkout repository
2828
uses: actions/checkout@v6
2929
with:
30+
# Fetch tags so workflow_dispatch can resolve and checkout the target tag
31+
fetch-tags: true
3032
# Explicitly checkout the tag ref to ensure we build the correct commit
3133
# For tag pushes: refs/tags/vX.Y.Z
3234
# For workflow_dispatch: refs/heads/<branch> (will be validated below)

0 commit comments

Comments
 (0)