From 9cc66bc61053720d4a1c6acb75477b5152397e2a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 31 Jul 2021 23:05:17 +0200 Subject: [PATCH] Dev: Disable Wiki update on non-master-branch Signed-off-by: Knut Ahlers --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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