Fix version validation

This commit is contained in:
Edward Firmo
2024-12-21 18:00:46 +01:00
3 changed files with 54 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ VERSION_YAML_FILE="./versioning/VERSION_YAML"
# Read the current version
if [ -f "$VERSION_FILE" ]; then
CURRENT_VERSION=$(cat $VERSION_FILE)
CURRENT_VERSION=$(cat "$VERSION_FILE")
else
CURRENT_VERSION="0.0.0" # Default if file doesn't exist
fi