Commit bd007f1
committed
Make the article slug run-unique so test:types can run twice
The article is the only type with a name, so its slug is derived from that
name and is constant. store-file-system's createFile() returns without
writing when the path already exists, while Indiekit still answers 202 with
a Location, so a second run published nothing and aborted on the store
guard with a misleading 'that is not the Indiekit this repo configures'.
CI never saw it because CI always clones into an empty store.
Also say that npm run build must be re-run after publishing; it is one-shot
and nothing watches, so a fresh post 404s until it is.1 parent 21c068b commit bd007f1
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| |||
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
59 | | - | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
0 commit comments