mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Correct sed replacement when called in a bash file
This commit is contained in:
parent
8a845eda7b
commit
6d46583f0f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -12,7 +12,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: publish
|
name: publish
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -41,5 +41,5 @@ jobs:
|
||||||
git config --global user.name "Github Action"
|
git config --global user.name "Github Action"
|
||||||
rm Cargo.lock
|
rm Cargo.lock
|
||||||
cargo workspaces rename ra_ap_%n
|
cargo workspaces rename ra_ap_%n
|
||||||
sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' crates/rust-analyzer/**/*.rs
|
find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
|
||||||
cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH
|
cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH
|
||||||
|
|
Loading…
Reference in a new issue