fixed release script
Browse files
release
CHANGED
@@ -15,7 +15,7 @@ fi
|
|
15 |
|
16 |
echo -e "\n${GREEN}STARTING RELEASE PROCESS${COLOR_OFF}\n"
|
17 |
|
18 |
-
git status | grep "working
|
19 |
if [ ! $? -eq 0 ]; then # working directory is NOT clean
|
20 |
echo -e "${RED}WARNING: You have uncomitted changes, you may have forgotten something${COLOR_OFF}\n"
|
21 |
exit
|
|
|
15 |
|
16 |
echo -e "\n${GREEN}STARTING RELEASE PROCESS${COLOR_OFF}\n"
|
17 |
|
18 |
+
git status | grep "working tree clean" &> /dev/null
|
19 |
if [ ! $? -eq 0 ]; then # working directory is NOT clean
|
20 |
echo -e "${RED}WARNING: You have uncomitted changes, you may have forgotten something${COLOR_OFF}\n"
|
21 |
exit
|