Fixed line endings and improved script to work with Windows endings just in case
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
set -e
|
||||
|
||||
# Read version from the single source of truth: Cargo.toml
|
||||
BASE_VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
|
||||
BASE_VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/' | tr -d '\r')
|
||||
if [ -z "$BASE_VERSION" ]; then
|
||||
echo "Error: Could not read version from Cargo.toml"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user