about summary refs log tree commit diff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 9762db5..66182a4 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,4 +1,12 @@
 #!/bin/sh
+if [[ -z $(git status -s) ]]
+then
+  echo "tree is clean"
+else
+  echo "tree is dirty, please commit changes before running this"
+  exit
+fi
+
 BASE_DIR=`pwd`
 rm -rf **/bin/Release
 cd MatrixRoomUtils.Web