forked from bobmatnyc/gitflow-analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-gitflow-analytics.sh
More file actions
executable file
·21 lines (18 loc) · 907 Bytes
/
dev-gitflow-analytics.sh
File metadata and controls
executable file
·21 lines (18 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# Development version launcher for GitFlow Analytics
# This ensures we always use the development version from the editable install
# Check if we're in the right environment
if ! command -v gitflow-analytics &> /dev/null; then
echo "❌ GitFlow Analytics not found. Please install with:"
echo " pip install -e /Users/masa/Projects/managed/gitflow-analytics"
exit 1
fi
# Check version to ensure we're using the development version
VERSION=$(gitflow-analytics --version 2>/dev/null | grep -o "version [0-9.]*" | cut -d' ' -f2)
if [[ "$VERSION" != "2.1.0" ]]; then
echo "⚠️ Warning: Using version $VERSION instead of expected 2.1.0"
echo " Consider reinstalling with:"
echo " pip uninstall -y gitflow-analytics && pip install -e /Users/masa/Projects/managed/gitflow-analytics"
fi
# Run the command with all arguments passed through
exec gitflow-analytics "$@"