Commit f87d264
refactor: replace inline node -e scripts with CLI entry point
Add a CLI interface to macosVersionResolver.js with two commands:
- download-hermes: downloads upstream tarball, writes outputs to $GITHUB_OUTPUT
- resolve-commit: resolves Hermes commit at merge base, writes to $GITHUB_OUTPUT
This replaces the multi-step node -e / temp file / shell JSON parsing
pattern in the workflow with clean one-liner script invocations.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e6d8f81 commit f87d264
2 files changed
Lines changed: 45 additions & 22 deletions
File tree
- .github/workflows
- packages/react-native/scripts/ios-prebuild
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 48 | + | |
64 | 49 | | |
65 | 50 | | |
66 | 51 | | |
| |||
134 | 119 | | |
135 | 120 | | |
136 | 121 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 122 | + | |
141 | 123 | | |
142 | 124 | | |
143 | 125 | | |
| |||
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
293 | 334 | | |
294 | 335 | | |
295 | 336 | | |
| |||
0 commit comments