mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore: add oxc_release.toml
This commit is contained in:
parent
591c54bd31
commit
ebd683bb4b
2 changed files with 16 additions and 4 deletions
12
.github/workflows/prepare_release_crates.yml
vendored
12
.github/workflows/prepare_release_crates.yml
vendored
|
|
@ -24,14 +24,18 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: cargo-bins/cargo-binstall@main
|
|
||||||
|
|
||||||
- uses: Boshen/setup-rust@main
|
- uses: Boshen/setup-rust@main
|
||||||
with:
|
with:
|
||||||
cache-key: warm
|
cache-key: warm
|
||||||
tools: cargo-release-oxc
|
tools: cargo-release-oxc
|
||||||
|
|
||||||
- run: cargo release-oxc update --patch
|
- run: cargo ck
|
||||||
|
|
||||||
|
- name: Run
|
||||||
|
id: run
|
||||||
|
run: |
|
||||||
|
VERSION=`cargo release-oxc update --release crates`
|
||||||
|
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: peter-evans/create-pull-request@v6
|
- uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -41,7 +45,7 @@ jobs:
|
||||||
author: Boshen <Boshen@users.noreply.github.com>
|
author: Boshen <Boshen@users.noreply.github.com>
|
||||||
branch: release/crates
|
branch: release/crates
|
||||||
branch-suffix: timestamp
|
branch-suffix: timestamp
|
||||||
title: Publish crates
|
title: Publish crates v${{ steps.run.outputs.VERSION }}
|
||||||
body: Automated Release
|
body: Automated Release
|
||||||
assignees: Boshen
|
assignees: Boshen
|
||||||
reviewers: Boshen
|
reviewers: Boshen
|
||||||
|
|
|
||||||
8
oxc_release.toml
Normal file
8
oxc_release.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Configuration file for [cargo release oxc](https://github.com/oxc-project/cargo-release-oxc)
|
||||||
|
[[releases]]
|
||||||
|
name = "crates"
|
||||||
|
versioned_files = [
|
||||||
|
"Cargo.toml",
|
||||||
|
"npm/oxc-parser/package.json",
|
||||||
|
"wasm/parser/package.json"
|
||||||
|
]
|
||||||
Loading…
Reference in a new issue