From 5a46cab29de9a30a29f301375f9298fab8e0b5f7 Mon Sep 17 00:00:00 2001 From: Lyn Nagara Date: Mon, 11 Mar 2024 10:02:22 -0700 Subject: [PATCH] fix: Fix bump version for rust --- .github/workflows/bump-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 631bb0541c..fd87303f68 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -50,7 +50,7 @@ jobs: re="$(sed 's/[_-]/[_-]/g' <<< "$PACKAGE")" sed -i "s/^$re==.*/$PACKAGE==$VERSION/g" -- requirements*.txt - sed -i "s/^$re==.*/$PACKAGE\s=\s$VERSION/g" -- rust_snuba/Cargo.toml + sed -i "s/^$re==.*/$PACKAGE\s=\s\"$VERSION\"/g" -- rust_snuba/Cargo.toml if git diff --exit-code; then exit 0