Fix release workflow: fetch git tags for changelog generation
The checkout wasn't fetching tags despite fetch-depth: 0. Explicitly run git fetch --tags --force after checkout.
This commit is contained in:
parent
89bdb534e0
commit
8a4e7e9de8
1 changed files with 3 additions and 0 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -120,6 +120,9 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # Fetch all history for tags
|
||||
|
||||
- name: Fetch all tags
|
||||
run: git fetch --tags --force
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue