summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 659462c..91ba649 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION = $(shell git describe --tags)
all:
@echo run this from the autotypist dir:
- @echo " GUIREASON=blah guireleaser"
+ @echo " GUIRELEASE_REASON=notsure guireleaser"
@echo then:
@echo " make prepare-release"
@echo then:
@@ -51,6 +51,9 @@ install:
GO111MODULE=off go install -v -x -ldflags " \
-X main.VERSION=${VERSION}"
+test: build
+ GUIRELEASE_REASON=minor ./guireleaser
+
check-git-clean:
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)