Skip to content

Commit 517169b

Browse files
committed
fix branch name
1 parent 2521e4d commit 517169b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ bump: $(GOBIN)/gobump
4444
ifneq ($(shell git status --porcelain),)
4545
$(error git workspace is dirty)
4646
endif
47-
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main)
48-
$(error current branch is not main)
47+
ifneq ($(shell git rev-parse --abbrev-ref HEAD),master)
48+
$(error current branch is not master)
4949
endif
5050
@gobump up -w .
5151
git commit -am "bump up version to $(VERSION)"
5252
git tag "v$(VERSION)"
53-
git push origin main
53+
git push origin master
5454
git push origin "refs/tags/v$(VERSION)"
5555

5656
.PHONY: upload

0 commit comments

Comments
 (0)