diff --git a/Makefile b/Makefile index 3237d29..1a80dff 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ NAME := uistrategy OWNER := dnitsch -VERSION := "v0.1.1" +GIT_TAG := "0.1.2" +VERSION := "v$(GIT_TAG)" REVISION := $(shell git rev-parse --short HEAD) LDFLAGS := -ldflags="-s -w -X \"github.com/$(OWNER)/$(NAME)/cmd/uistrategy.Version=$(VERSION)\" -X \"github.com/$(OWNER)/$(NAME)/cmd/uistrategy.Revision=$(REVISION)\" -extldflags -static" @@ -28,5 +29,9 @@ build: clean install bingen build_ci: clean install_ci bingen +tag: + git tag "v$(GIT_TAG)" + git push origin "v$(GIT_TAG)" + release: OWNER=$(OWNER) NAME=$(NAME) PAT=$(PAT) VERSION=$(VERSION) . hack/release.sh \ No newline at end of file