From 02bc44556bc19619a2ea99882d9d72e6b87c03fe Mon Sep 17 00:00:00 2001 From: Lloyd Date: Tue, 6 Jan 2026 17:15:14 +0000 Subject: [PATCH] feat: Fetch latest git tags before Python package installation --- manage.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/manage.sh b/manage.sh index fe04398..174245d 100644 --- a/manage.sh +++ b/manage.sh @@ -420,7 +420,13 @@ EOF SCRIPT_DIR="$(dirname "$0")" cd "$SCRIPT_DIR" - if pip install --break-system-packages --force-reinstall --no-cache-dir --ignore-installed .; then + # Ensure we have the latest tags for version calculation + if [ -d .git ]; then + echo "Fetching latest tags for version info..." + git fetch --tags 2>/dev/null || true + fi + + if pip install --break-system-packages --force-reinstall --no-cache-dir --no-build-isolation --ignore-installed .; then echo "" echo "✓ Python package update completed successfully!" else