cargo-release-oxc

Crates.iocargo-release-oxc
lib.rscargo-release-oxc
version0.0.25
sourcesrc
created_at2024-04-01 02:22:55.835718
updated_at2024-11-04 09:02:51.331541
descriptionOxc release management
homepage
repositoryhttps://github.com/oxc-project/cargo-release-oxc
max_upload_size
id1192067
size109,063
Boshen (Boshen)

documentation

README

Release management for the oxc project

cargo release-oxc

Usage: cargo-release-oxc COMMAND ...

Available options:
    -h, --help             Prints help information

Available commands:
    update                 Generate CHANGELOG.md and bump versions for all published packages.
    changelog              Generate changelog summary.
    regenerate-changelogs  Regenerate CHANGELOG.md for all published packages.
    publish                Publish all `versioned_files` specified in `oxc_release.toml`.

Available options:
    --release=NAME         Select the release specified in `oxc_release.toml`.
    --dry-run              Run `cargo publish` with `--dry-run`

Specify oxc_release.toml

[[releases]]
name = "crates"
versioned_files = [
  "Cargo.toml",
  "npm/oxc-parser/package.json",
  "npm/oxc-transform/package.json",
  "wasm/parser/package.json",
]

[[releases]]
name = "oxlint"
versioned_files = [
  "apps/oxlint/Cargo.toml",
  "crates/oxc_linter/Cargo.toml",
  "editors/vscode/package.json",
  "npm/oxlint/package.json",
]

Output

Saves two files to ./target:

  • version: ./target/OXC_VERSION
  • changelog: ./target/OXC_CHANGELOG
Commit count: 124

cargo fmt