From 40cb065627ab73be35a19a5d913dd01f03460ebb Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sat, 30 Dec 2023 12:44:17 +0900 Subject: [PATCH] fix Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index aa40fea..81f9362 100644 --- a/Makefile +++ b/Makefile @@ -45,11 +45,11 @@ bump: $(GOBIN)/gobump ifneq ($(shell git status --porcelain),) $(error git workspace is dirty) endif -ifneq ($(shell git rev-parse --abbrev-ref HEAD),main) - $(error current branch is not main) +ifneq ($(shell git rev-parse --abbrev-ref HEAD),master) + $(error current branch is not master) endif @gobump up -w . git commit -am "bump up version to $(VERSION)" git tag "v$(VERSION)" - git push origin main + git push origin master git push origin "refs/tags/v$(VERSION)"