chore: update MAINTAINANCE.md

This commit is contained in:
Boshen 2023-07-27 14:05:47 +08:00
parent 1012d8300c
commit df90bf21ec
No known key found for this signature in database
GPG key ID: 9C7A8C8AB22BEBD1
2 changed files with 22 additions and 12 deletions

View file

@ -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.

22
MAINTENANCE.md Normal file
View file

@ -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
```