Skip to content
Permalink
Browse files
update scripts
  • Loading branch information
leerho committed Jul 18, 2019
1 parent 8b85251 commit 2e688c2ae5afdad76f364ee6784a11629d05de0f
Showing 1 changed file with 3 additions and 2 deletions.
@@ -86,9 +86,10 @@ echo "5. Locally checkout the branch or tag that you want to deploy."
echo
echo "Proceed? [y|N]"; read confirm; if [[ $confirm != "y" ]]; then echo "Please rerun this script when ready."; exit; fi

if [[ -n $(git status --porcelain) ]];
TMP=$(git status --porcelain)
if [[ -n $TMP ]];
then
echo
echo "git status --porcelain: $TMP"
echo "ERROR!!! Your GitHub repo is not clean!"
echo
exit 1

0 comments on commit 2e688c2

Please sign in to comment.