diff --git a/Makefile b/Makefile index 30f5f9f..20d1fb6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +BRANCH:=$(shell git branch --show-current) + default: lint: @@ -31,4 +33,7 @@ push_wiki: # --- Local dev auto-hook-pre-commit: gendoc + +ifeq ($(BRANCH), master) auto-hook-post-push: push_wiki +endif