fix tagging
This commit is contained in:
parent
45ac25c8a5
commit
443ccf3a28
6
Makefile
6
Makefile
|
@ -1,8 +1,10 @@
|
|||
TAG = $(shell git describe --tags)
|
||||
TAG = $(shell git describe --exclude "r-*" --tags)
|
||||
$(info ::set-output name=tag::$(TAG))
|
||||
|
||||
NAME = bedrocktool-${TAG}
|
||||
SRCS = $(wildcard **/*.go)
|
||||
|
||||
GC = go build -ldflags "-s -w -X utils.Version=${TAG}"
|
||||
GC = go build -ldflags "-s -w -X github.com/bedrock-tool/bedrocktool/utils.Version=${TAG}"
|
||||
|
||||
.PHONY: dists clean updates
|
||||
|
||||
|
|
Loading…
Reference in New Issue