From 6d46583f0faefc4515e6cf7f2d30ef9b3bbe7820 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Tue, 25 Aug 2020 12:45:06 +0200 Subject: Correct sed replacement when called in a bash file --- .github/workflows/publish.yml | 4 ++-- 1 file 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: jobs: publish: name: publish - runs-on: ubuntu-16.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 @@ -41,5 +41,5 @@ jobs: git config --global user.name "Github Action" rm Cargo.lock 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 -- cgit v1.2.3