Commit d22c77f
committed
fix(release): rebase appcast commit onto origin/main before pushing
The build takes ~10 minutes. Between checkout (at a tag, so HEAD is
detached) and the appcast push, code commits can land on main. The
resulting non-fast-forward push fails with exit code 1, breaking the
release job every time main is active during a build.
Fix: after committing the appcast update, fetch origin/main and rebase
onto it before pushing. appcast files are never touched by code commits
so the rebase will always be conflict-free, and the push will always
be a fast-forward.
Applied to both release.yml and nightly-dev.yml.1 parent a008d2c commit d22c77f
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
0 commit comments