From f6ab759c2b9b5bf27b55721001b18b37e910be8b Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Wed, 8 Nov 2023 10:16:35 +1300 Subject: [PATCH] Fix `sed` invocation in version bump workflow (#206) Signed-off-by: Thomas Farr (cherry picked from commit 58dd55bb88af5fd511e00f72f30a2a4a5c632e3e) --- .github/workflows/version.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index a2924b7a..823715f6 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -41,9 +41,9 @@ jobs: - name: Increment Patch Version run: | echo Incrementing $CURRENT_VERSION to $NEXT_VERSION - sed -i '' -e "s/^version = \"$CURRENT_VERSION\"/version = \"$NEXT_VERSION\"/g" opensearch/Cargo.toml - sed -i '' -e "s/^version = \"$CURRENT_VERSION\"/version = \"$NEXT_VERSION\"/g" api_generator/Cargo.toml - sed -i '' -e "s/^version = \"$CURRENT_VERSION\"/version = \"$NEXT_VERSION\"/g" yaml_test_runner/Cargo.toml + sed -i'' -e "s/^version = \"$CURRENT_VERSION\"/version = \"$NEXT_VERSION\"/g" opensearch/Cargo.toml + sed -i'' -e "s/^version = \"$CURRENT_VERSION\"/version = \"$NEXT_VERSION\"/g" api_generator/Cargo.toml + sed -i'' -e "s/^version = \"$CURRENT_VERSION\"/version = \"$NEXT_VERSION\"/g" yaml_test_runner/Cargo.toml - name: Create Pull Request uses: peter-evans/create-pull-request@v3