Commit eef13d8
committed
fix(ci): add fetch-tags: true to release build checkouts
actions/checkout@v4 with fetch-depth: 0 does not automatically
fetch tags. Without tags, git describe --tags --always falls back
to the raw commit SHA, which gets baked into the binary by the
Generate version file step. Add fetch-tags: true to all three
platform build jobs (Linux, macOS, Windows) so git describe can
find the release tag and produce the correct version string.1 parent 4977f5e commit eef13d8
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
485 | 487 | | |
486 | 488 | | |
487 | 489 | | |
| 490 | + | |
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
| |||
0 commit comments