Commit 0f3c886
committed
ci(release): sync to branch tip before versioning and push atomically
The dispatch release pushed with a plain git push --follow-tags after a
checkout taken up to two minutes earlier. When main advanced in between
(a PR merge during npm install), the branch update was rejected as
non-fast-forward while the release tag still landed on the remote,
pointing at a commit reachable from no branch.
Fast-forward to the branch tip immediately before nx release runs, and
push with --atomic so the release commit and tag succeed or fail together.1 parent ac1706e commit 0f3c886
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
243 | 253 | | |
244 | 254 | | |
245 | 255 | | |
| |||
273 | 283 | | |
274 | 284 | | |
275 | 285 | | |
| 286 | + | |
| 287 | + | |
276 | 288 | | |
277 | 289 | | |
278 | | - | |
| 290 | + | |
279 | 291 | | |
280 | 292 | | |
281 | 293 | | |
| |||
0 commit comments