From 83c5e29382c9f28710f18e3045ec0212eb7be500 Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Tue, 25 Feb 2020 20:45:08 -0300 Subject: [PATCH] fixed: makefile rule to check the working tree. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index afe965fa..ec06a74f 100644 --- a/Makefile +++ b/Makefile @@ -74,9 +74,8 @@ docs: build-docs # Rules for build and publish check-working-tree: - @[ ! -z "`git status -s`" ] && \ - echo "Stopping publish. There are change to commit or discard." && \ - exit 1 + @[ -z "`git status -s`" ] && \ + echo "Stopping publish. There are change to commit or discard." || echo "Worktree is clean." changelog: @echo "[Updating CHANGELOG.md $(CURRENT_VERSION) > $(VERSION)]"