mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
fix: update version only if version.workspace is not set
This commit is contained in:
parent
9d0e39f9c3
commit
ba4562c3c0
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function updateVersion {
|
||||||
fi
|
fi
|
||||||
crate_path="$WORKINGDIR/$CRATE_DIR/Cargo.toml"
|
crate_path="$WORKINGDIR/$CRATE_DIR/Cargo.toml"
|
||||||
crate_path=${crate_path//\/\///}
|
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"
|
echo "Path is $crate_path"
|
||||||
if [ "$CRATE" = "librespot" ]
|
if [ "$CRATE" = "librespot" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue