mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-13 06:56:06 +00:00
Fix release workflow: fetch git tags for changelog generation
actions/checkout@v4 does not fetch tags by default, causing the previous tag lookup to fail and fall back to comparing with the first commit SHA. Added fetch-depth: 0 to fetch all history including tags.
This commit is contained in:
parent
f444aec82f
commit
89bdb534e0
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -117,6 +117,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Fetch all history for tags
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue