fix tagging

This commit is contained in:
olebeck 2022-09-06 00:41:15 +02:00
parent 45ac25c8a5
commit 443ccf3a28
1 changed files with 4 additions and 2 deletions

View File

@ -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