From a42facc6678552277a75c14c0cd78bcb14f714ac Mon Sep 17 00:00:00 2001 From: Alexander Early Date: Thu, 30 Jun 2016 16:34:30 -0700 Subject: make docs publishing fail if there are uncommitted changes --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e180aa9..158a5db 100644 --- a/Makefile +++ b/Makefile @@ -121,5 +121,7 @@ release-major release-minor release-patch release-prerelease: all .PHONY: doc doc: + git diff-files --quiet # fail if unstanged changes + git diff-index --quiet HEAD # fail if uncommited changes npm run-script jsdoc gh-pages-deploy -- cgit v1.2.1