Skip to content

Commit

Permalink
Support alternate git status output
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Feb 13, 2017
1 parent 74cb872 commit 757d8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi
echo -e "\n${GREEN}STARTING RELEASE PROCESS${COLOR_OFF}\n"

set +e;
git status | grep "working directory clean" &> /dev/null
git status | grep -Eo "working (directory|tree) clean" &> /dev/null
if [ ! $? -eq 0 ]; then # working directory is NOT clean
echo -e "${RED}WARNING: You have uncomitted changes, you may have forgotten something${COLOR_OFF}\n"
exit 1
Expand Down

0 comments on commit 757d8f9

Please sign in to comment.