From b2e6bdc65e5eb6b79b24ef4e48c2d4f325f655a1 Mon Sep 17 00:00:00 2001 From: wi1dcard Date: Wed, 8 Jan 2020 19:12:47 +0800 Subject: [PATCH] Fix incorrect build version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 84050cc..0fec327 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ build: check_tag -osarch "linux/amd64 linux/arm64 linux/arm darwin/amd64 windows/amd64" \ -ldflags "-X main.buildCommit=${COMMIT} \ -X main.buildDate=${DATE} \ - -X main.buildVersion=${LAST_TAG}" \ + -X main.buildVersion=${TAG}" \ ./... release: build