refuse to publish if there are uncommitted changes

This commit is contained in:
Sebastian McKenzie 2014-10-10 17:39:45 +11:00
parent d52103cab3
commit 00bab7beb8

View File

@ -38,6 +38,8 @@ build:
rm -rf templates.json
publish:
if test -n "`git status -s`"; then echo "uncommitted changes"; exit 1; fi
rm -rf node_modules
git pull --rebase