diff options
author | Pavan Kumar Sunkara <[email protected]> | 2020-08-25 11:45:06 +0100 |
---|---|---|
committer | Pavan Kumar Sunkara <[email protected]> | 2020-08-25 13:43:22 +0100 |
commit | 6d46583f0faefc4515e6cf7f2d30ef9b3bbe7820 (patch) | |
tree | 295a2171155caa9e94aacbbb97a581ff5c9b7669 | |
parent | 8a845eda7bfd24aa4d85f1656bd053db05446a3e (diff) |
Correct sed replacement when called in a bash file
-rw-r--r-- | .github/workflows/publish.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 313c67649..0e26bb784 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml | |||
@@ -12,7 +12,7 @@ on: | |||
12 | jobs: | 12 | jobs: |
13 | publish: | 13 | publish: |
14 | name: publish | 14 | name: publish |
15 | runs-on: ubuntu-16.04 | 15 | runs-on: ubuntu-latest |
16 | steps: | 16 | steps: |
17 | - name: Checkout repository | 17 | - name: Checkout repository |
18 | uses: actions/checkout@v2 | 18 | uses: actions/checkout@v2 |
@@ -41,5 +41,5 @@ jobs: | |||
41 | git config --global user.name "Github Action" | 41 | git config --global user.name "Github Action" |
42 | rm Cargo.lock | 42 | rm Cargo.lock |
43 | cargo workspaces rename ra_ap_%n | 43 | cargo workspaces rename ra_ap_%n |
44 | sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' crates/rust-analyzer/**/*.rs | 44 | find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} + |
45 | cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH | 45 | cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH |