From a50358384472a095ef74194851acb2c7de794d5d Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 3 Jan 2024 13:46:25 +0900 Subject: [PATCH] fix --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 42f96c8..e3e9439 100644 --- a/Makefile +++ b/Makefile @@ -44,13 +44,13 @@ 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)" .PHONY: upload