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 Nov 1, 2016
1 parent 844ef63 commit dd2be85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release
Expand Up @@ -45,7 +45,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 dd2be85

Please sign in to comment.