don't allow cutting a release with uncommited/untracked files

This commit is contained in:
Trent Mick 2012-10-11 15:52:05 -07:00
parent 31fda082fb
commit 1844dfd062

View file

@ -24,6 +24,7 @@ versioncheck:
.PHONY: cutarelease .PHONY: cutarelease
cutarelease: versioncheck cutarelease: versioncheck
[[ `git status | tail -n1` == "nothing to commit (working directory clean)" ]]
./tools/cutarelease.py -p bunyan -f package.json -f lib/bunyan.js -f bin/bunyan ./tools/cutarelease.py -p bunyan -f package.json -f lib/bunyan.js -f bin/bunyan