-
Notifications
You must be signed in to change notification settings - Fork 237
/
nu_release.nu
67 lines (58 loc) · 1.37 KB
/
nu_release.nu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
use std log
export def main [] {
let subcrates_wave_1 = [
nu-glob,
nu-path,
nu-pretty-hex,
nu-system,
nu-utils,
nu-term-grid,
nu-test-support,
nu-json,
nu-derive-value,
nu-protocol,
nu-engine,
nu-plugin-protocol,
nu-color-config,
nu-plugin-core,
nu-plugin-engine,
nu-table,
nu-cmd-plugin,
nu-parser,
nu-plugin,
nu-std,
nuon,
nu-cmd-base,
]
# This crate has a `build.rs` file and thus needs `--no-verify`
let subcrates_wave_2 = [
nu-cmd-lang,
]
let subcrates_wave_3 = [
nu-command,
nu-explore,
nu-plugin-test-support,
nu-cli,
nu-cmd-extra,
nu-lsp,
nu_plugin_query,
nu_plugin_inc,
nu_plugin_gstat,
nu_plugin_formats,
nu_plugin_polars,
]
log warning "starting publish"
log warning "publishing the first wave of crates"
for crate in $subcrates_wave_1 {
cargo publish -p $crate
}
log warning "publishing the second wave of crates"
for crate in $subcrates_wave_2 {
cargo publish -p $crate --no-verify
}
log warning "publishing the third wave of crates"
for crate in $subcrates_wave_3 {
cargo publish -p $crate
}
cargo publish
}