- Notifications
You must be signed in to change notification settings - Fork918
Commit887ea14
authored
ci: fetch annotated tags during release/build-dylib (#15738)
The release action [ran into anissue](https://github.com/coder/coder/actions/runs/12147281426) buildingthe dylib today, as the version script that's run during the build jobwas unable to find an annotated tag. This is a step it skips duringdry-runs.```ERROR: version.sh: the current commit is not tagged with an annotated tag```This was almost certainly caused by omitting the `git fetch --tags--force` that's present on each other release action job, as theworkflow passes on a release dry-run when run against a regular branch,that's not an annotated tag.From an existing comment:> If the event that triggered the build was an annotated tag (which ourtags are supposed to be), actions/checkout has a bug where the tag in question is only a lightweight tag and not a full annotated tag.1 parentc8c8e50 commit887ea14
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
49 | 57 |
| |
50 | 58 |
| |
51 | 59 |
| |
|
0 commit comments
Comments
(0)