Commit 772e06b
committed
Skip the rebuild when rector-src main is a release tag commit
A tagged main is already published by the tag build of rector-src. A
dispatched build would race that build for the push to rectorphp/rector,
and the loser of the race fails on a non fast forward push.
Tags are resolved with git ls-remote, which lists a lightweight tag with
the commit itself and an annotated tag with an extra "^{}" line, so both
kinds are matched. rector-src has 36 annotated tags among 574.1 parent 059615d commit 772e06b
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
18 | 38 | | |
19 | 39 | | |
| 40 | + | |
20 | 41 | | |
21 | 42 | | |
22 | 43 | | |
0 commit comments