Commit f164139
authored
Use newly-built version of Mill scripts for dist rather than Mill's current
Previously we used the `./mill` in the Mill repo that can potentially be
stale and out of date, e.g. the current one was last updated in
`1.0.0-M1-21-7b6fae-DIRTY892b63e8`, with an old `DEFAULT_MILL_VERSION`.
This PR makes us always use the most recently built script so the
`DEFAULT_MILL_VERSION` is up to date
With the `DEFAULT_MILL_VERSION` fixed, we now have the freedom to not
need a `//| mill-version:` by default, since the bootstrap script comes
with one. The user can still customize the `//| mill-version` or
`.mill-version` later if they want, but this should remove one manual
step from getting started.
We can also recommend people update Mill by always downloading new
bootstrap scripts via `curl`, which removes yet another degree of
freedom and avoids the failure mode we have hit in the past where people
bump `//| mill-version`, but don't download the new bootstrap script
necessary for using the newer version, resulting in the Mill upgrade
failing./mill bootstrap script (#5801)1 parent 4e9e840 commit f164139
File tree
3 files changed
+11
-35
lines changed- dist
- website/docs/modules/ROOT/pages/cli
3 files changed
+11
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 193 | | |
219 | | - | |
| 194 | + | |
220 | 195 | | |
| 196 | + | |
221 | 197 | | |
222 | | - | |
| 198 | + | |
223 | 199 | | |
224 | 200 | | |
225 | 201 | | |
| |||
245 | 221 | | |
246 | 222 | | |
247 | 223 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | 224 | | |
253 | 225 | | |
254 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments