From 1844dfd0625689774ffd1a6f65d134381a209493 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Thu, 11 Oct 2012 15:52:05 -0700 Subject: [PATCH] don't allow cutting a release with uncommited/untracked files --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b74f643..42efc41 100644 --- a/Makefile +++ b/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