fix: correct version extraction in Makefile status command

This commit is contained in:
2025-07-12 22:11:16 +08:00
parent 0f5f740e96
commit eb7fccf990

View File

@ -92,7 +92,7 @@ status:
@echo "" @echo ""
@echo "📁 Project Info:" @echo "📁 Project Info:"
@echo " Directory: $(PWD)" @echo " Directory: $(PWD)"
@echo " Version: $(shell grep '__version__' ai_shell/__init__.py | cut -d'\"' -f2)" @echo " Version: $(shell grep '__version__' ai_shell/__init__.py | cut -d'"' -f2)"
@echo "" @echo ""
@echo "🔧 Git Status:" @echo "🔧 Git Status:"
@git status --short || echo " Not a git repository" @git status --short || echo " Not a git repository"