File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ VERSION ?= $(shell git describe --tags --always --dirty)
88GOPKGS = $(shell go list ./... | grep -v /vendor/)
99BUILD_FLAGS ?=
1010LDFLAGS ?= -X github.com/grepplabs/kafka-proxy/config.Version=$(VERSION ) -w -s
11+ TAG ?= "v0.0.1"
1112
1213PLATFORM ?= $(shell uname -s)
1314ifeq ($(PLATFORM ) , Darwin)
@@ -68,6 +69,13 @@ build.docker-build.osx:
6869 docker rm $$buildContainer ;\
6970 docker rmi $$buildContainerName ;\
7071
72+ release : clean build.linux build/osx/$(BINARY )
73+ git tag $(TAG ) && git push --tags
74+ github-release release -u grepplabs -r $(BINARY ) --tag $(TAG )
75+ github-release upload -u grepplabs -r $(BINARY ) -t $(TAG ) -f build/linux/$(BINARY ) -n linux/amd64/$(BINARY )
76+ github-release upload -u grepplabs -r $(BINARY ) -t $(TAG ) -f build/osx/$(BINARY ) -n darwin/amd64/$(BINARY )
77+ github-release info -u grepplabs -r $(BINARY )
78+
7179protoc.auth :
7280 protoc -I plugin/auth/proto/ plugin/auth/proto/auth.proto --go_out=plugins=grpc:plugin/auth/proto/
7381
You can’t perform that action at this time.
0 commit comments