Commit 8142f4f
🐛 fix(ci): fetch tags so git-describe can find v* tags
actions/checkout@v4 with fetch-depth: 0 alone does not pull tags;
needs fetch-tags: true. The previous shell-step `git fetch --tags`
was apparently failing silently, so the build's gitDescribe() got
just a SHA and Version.fromGitDescribe rejected it.
Also fail-fast in the Compute version step if no v* tag is reachable,
instead of letting Gradle hit the same error 30s later.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2eb85ca commit 8142f4f
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
0 commit comments