Commit 96a98e9
fix: use github.run_number for build numbers to prevent sysext regression (#8564)
The previous approach derived build numbers by incrementing the value
stored in pubspec.yaml. This broke when the base version changed
(9.0.3 → 9.0.15) and the build number was manually reset to 94,
producing builds with lower CFBundleVersion than the prior release
(155). macOS refuses to upgrade system extensions to a lower build
number, so users silently kept the old sysext.
github.run_number is monotonically increasing across all workflow runs,
never resets on version changes, and requires no commit-back step.
Fixes #3091
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 78bc231 commit 96a98e9
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
173 | 178 | | |
174 | 179 | | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
180 | | - | |
181 | | - | |
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
185 | 188 | | |
186 | | - | |
| 189 | + | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
| |||
0 commit comments