Browse files

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

  • Loading branch information...
1 parent 31fda08 commit 1844dfd0625689774ffd1a6f65d134381a209493 @trentm committed Oct 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Makefile
View
1 Makefile
@@ -24,6 +24,7 @@ versioncheck:
.PHONY: cutarelease
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

0 comments on commit 1844dfd

Please sign in to comment.