From dcf3d67ac3b79fa304dc0f60c461fb61dbad74cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=B6hling=2C=20Maximilian?= Date: Tue, 20 Aug 2024 14:56:24 +0200 Subject: [PATCH] rust: Fix CI overwriting dependency versions in Cargo.toml --- .github/workflows/ci-rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-rust.yaml b/.github/workflows/ci-rust.yaml index 453909f7..ae5ed94a 100644 --- a/.github/workflows/ci-rust.yaml +++ b/.github/workflows/ci-rust.yaml @@ -93,7 +93,7 @@ jobs: - name: set version if: startsWith(github.ref, 'refs/tags/rs') run: | - sed -i "s/version = \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/version = \"$RELEASE_VERSION\"/g" ./rust/Cargo.toml + sed -i "s/^version = \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/version = \"$RELEASE_VERSION\"/g" ./rust/Cargo.toml - name: publish crates.io package if: startsWith(github.ref, 'refs/tags/rs')