Commit c3e9e59
Fix version computation in GHA
The workflow was failing because tags weren't being fetched properly
and the fallback logic for missing tags was broken. This fix:
1. Explicitly fetches tags with 'git fetch --tags --force' to ensure
they're available for version computation
2. Improves fallback logic to handle missing tags by counting all
commits instead of trying to use a non-existent v0.0.0 tag
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 160f5bd commit c3e9e59
1 file changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | | - | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
58 | 70 | | |
59 | | - | |
60 | | - | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
| |||
0 commit comments