diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-25 13:51:28 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-25 13:51:28 +0100 |
commit | 2441e8eaaffb839fe6d6307f5163e66b88877419 (patch) | |
tree | 48a160d7c10b5aad4bc192da72c74353a044acbe | |
parent | 34754bd0e27c6fdba617c1033144e88e887d815d (diff) | |
parent | 6d46583f0faefc4515e6cf7f2d30ef9b3bbe7820 (diff) |
Merge #5873
5873: Correct sed replacement when called in a bash file r=matklad a=pksunkara
There's so much trial and error regarding shells and stuff I needed to do to get this correctly working on github runner.
Co-authored-by: Pavan Kumar Sunkara <[email protected]>
-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 |