Commit 5fdae71
fix: make release workflow resilient to version desync (#40)
Add git pull --rebase at two points:
1. Before version bump — picks up previous release's version commit
2. Before git push — handles any commits pushed during the job
This prevents the scenario where a queued release job bumps from
a stale version and collides with an already-published npm version.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 56327cd commit 5fdae71
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
86 | | - | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
0 commit comments