Commit 7c97831
committed
Amend latest commit instead of creating a new one
The version's patch number equals the commit count. Creating a new
commit changes that count, causing invoke setver to find another
version bump on the next CD run — an infinite loop.
Amending the triggering commit keeps the count unchanged, so the
subsequent CD run finds no version change and stops. Force push is
needed because the amended SHA differs from origin, but is safe here
since allow_force_pushes is enabled and TEAM4-0 has the ruleset
admin bypass.1 parent a437b6d commit 7c97831
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments