Skip to content

Commit

Permalink
Update version script
Browse files Browse the repository at this point in the history
  • Loading branch information
HarwinBorger committed Sep 24, 2020
1 parent c6b3748 commit b291e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ WHITE='\033[38;2;255;255;255m'
NC='\033[0m' # No Color
BOLD='\033[1m'

if git diff-index HEAD;
then
CHANGED=$(git diff-index --name-only HEAD)
if [ -n "$CHANGED" ]; then
git status
echo -e "${RED}First commit your files please...${NC}"
exit
Expand Down

0 comments on commit b291e67

Please sign in to comment.