Commit 9d328bf
committed
ci(release): replace fetch-tags with fetch-depth:0 in checkout
The push-tag trigger that fired for v0.0.2 failed with
Cannot fetch both ef6dffd... and refs/tags/v0.0.2 to refs/tags/v0.0.2
— a known interaction in actions/checkout@v4 where `fetch-tags: true`
combined with a tag ref tries to fetch the same ref twice. Switching to
`fetch-depth: 0` gives the resolve-tag step the full history it needs
without the duplicate-fetch conflict.
(The release.yml flow itself is unchanged; this only fixes the runner
side.)1 parent ef6dffd commit 9d328bf
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | | - | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
0 commit comments