From df90bf21ece43a5e55fd84cc5efb841a43349f99 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 27 Jul 2023 14:05:47 +0800 Subject: [PATCH] chore: update MAINTAINANCE.md --- MAINTAINANCE.md | 12 ------------ MAINTENANCE.md | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 MAINTAINANCE.md create mode 100644 MAINTENANCE.md diff --git a/MAINTAINANCE.md b/MAINTAINANCE.md deleted file mode 100644 index a6945a27c..000000000 --- a/MAINTAINANCE.md +++ /dev/null @@ -1,12 +0,0 @@ -# Release crates - -Manually edit all versions specified by `[workspace.dependencies]` in Cargo.toml, -also manually edit each of the crates version. - -Install `cargo-smart-release`, run - -```bash -cargo smart-release --no-changelog --no-tag --no-push --dry-run-cargo-publish oxc -``` - -Run again with `--dry-run-cargo-publish` when everything compiles. diff --git a/MAINTENANCE.md b/MAINTENANCE.md new file mode 100644 index 000000000..a3621a5c6 --- /dev/null +++ b/MAINTENANCE.md @@ -0,0 +1,22 @@ +# Release crates + +Manually edit all versions specified by `[workspace.dependencies]` in Cargo.toml, +also manually edit each of the crates version. + +Run + +```bash +cargo publish -p oxc_allocator +cargo publish -p oxc_index +cargo publish -p oxc_span +cargo publish -p oxc_syntax +cargo publish -p oxc_ast +cargo publish -p oxc_diagnostics +cargo publish -p oxc_parser +cargo publish -p oxc_semantic +cargo publish -p oxc_formatter +cargo publish -p oxc_hir +cargo publish -p oxc_ast_lower +cargo publish -p oxc_minifier +cargo publish -p oxc +```