diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61164a0..ee292cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: id: auto-update run: | export VERSION="${GITHUB_REF##*/}" - sed -E -i "s/^version = \[^\"]\"/version = \"${VERSION:1}\"/g" Cargo.toml # e.g. v0.0.1 -> version = "0.0.1" + sed -E -i "s/^version = \[^\"]*\"/version = \"${VERSION:1}\"/g" Cargo.toml # e.g. v0.0.1 -> version = "0.0.1" cargo tree # Check that we did not break the Cargo.toml (also updates Cargo.lock) git config --global user.email "yeicor@users.noreply.github.com" git config --global user.name "Yeicor"