Commit f5dc269
committed
Sorts previews.json output by lookup_path for stable order
Lookbook.previews follows filesystem glob order, which differs
between macOS and Linux whenever two previews share a name across
statuses (e.g. beta/heading and open_project/heading). Every
upstream sync regenerated on macOS was getting immediately
followed by a CI "Generating static files" autocommit reordering
the same two entries back to Linux's order.
Sorting explicitly by lookup_path removes the platform dependency,
so local and CI regeneration produce the same file.1 parent 4b04446 commit f5dc269
3 files changed
Lines changed: 2428 additions & 2423 deletions
File tree
- .changeset
- lib/primer/static
- static
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments