Skip to content

Commit ba4562c

Browse files
committed
fix: update version only if version.workspace is not set
1 parent 9d0e39f commit ba4562c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function updateVersion {
4949
fi
5050
crate_path="$WORKINGDIR/$CRATE_DIR/Cargo.toml"
5151
crate_path=${crate_path//\/\///}
52-
$(replace_in_file "s/^version.*/version = \"$1\"/g" "$crate_path")
52+
$(replace_in_file "s/^version =.*/version = \"$1\"/g" "$crate_path")
5353
echo "Path is $crate_path"
5454
if [ "$CRATE" = "librespot" ]
5555
then

0 commit comments

Comments
 (0)