diff --git a/.releaserc.cjs b/.releaserc.cjs index 30937354..cd7bbe1b 100644 --- a/.releaserc.cjs +++ b/.releaserc.cjs @@ -15,7 +15,7 @@ const fileReplacements = [ }, { files: ['Cargo.toml'], - from: '\\[workspace\\.package\\]\nversion = ".*"', + from: '^\\[workspace\\.package\\]\nversion = ".*"$', to: '[workspace.package]\nversion = "${nextRelease.version}"', results: [ {