Set initial version to 0.0.0

This commit is contained in:
Pavindu Lakshan 2025-04-18 13:39:49 +05:30
parent 161223fd73
commit 134385ac1c
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ else
fi
# Extract current version.
CURRENT_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "1.0.0")
CURRENT_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
IFS='.' read -r MAJOR MINOR PATCH <<< "${CURRENT_VERSION}"
# Determine which part to increment