fix: correct version extraction in Makefile status command
This commit is contained in:
2
Makefile
2
Makefile
@ -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"
|
||||||
|
Reference in New Issue
Block a user