diff --git a/publish.sh b/publish.sh index c2187dc5..b8f79d56 100755 --- a/publish.sh +++ b/publish.sh @@ -49,7 +49,7 @@ function updateVersion { fi crate_path="$WORKINGDIR/$CRATE_DIR/Cargo.toml" crate_path=${crate_path//\/\///} - $(replace_in_file "s/^version.*/version = \"$1\"/g" "$crate_path") + $(replace_in_file "s/^version =.*/version = \"$1\"/g" "$crate_path") echo "Path is $crate_path" if [ "$CRATE" = "librespot" ] then