Commit 34c8a47
fix(versions): always fetch upstream latest, never compare pin-vs-pin
load_versions used env vars as "latest", but versions.env always
populates them via version-pins.sh — so the check compared pinned
values against themselves and reported "up-to-date" unconditionally,
even when npm had newer releases.
- Remove env-var shortcut from load_versions; always fetch from
upstream (npm/github) for the reporting path
- Snapshot CLI overrides in version-upgrade.sh BEFORE version-pins.sh
fills defaults, so explicit `CLAUDE_CODE_VERSION=X make versions-up`
still forces that version at build time
- Plain `make versions-up` now correctly detects and upgrades to the
real latest upstream versions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3fcdd03 commit 34c8a47
2 files changed
Lines changed: 34 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
437 | 429 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
442 | 434 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
| 435 | + | |
451 | 436 | | |
452 | 437 | | |
453 | 438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
10 | 23 | | |
11 | 24 | | |
12 | 25 | | |
| |||
83 | 96 | | |
84 | 97 | | |
85 | 98 | | |
| 99 | + | |
86 | 100 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
| |||
0 commit comments