mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 13:45:56 +03:00
Add new crates to the release script and updates the order of existing crates according to the `nu_deps.nu` script.
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
use std log
|
|
|
|
export def main [] {
|
|
let subcrates_wave_1 = [
|
|
nu-glob,
|
|
nu-json,
|
|
nu-path,
|
|
nu-pretty-hex,
|
|
nu-system,
|
|
nu-utils,
|
|
nu-term-grid,
|
|
nu-test-support,
|
|
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-dataframe,
|
|
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
|
|
}
|