From 9889895863c595d38aa5d6347dfadb99f2687a51 Mon Sep 17 00:00:00 2001 From: Neil Pankey Date: Thu, 22 Sep 2022 16:10:42 -0700 Subject: [PATCH] ci: include lightweight tags in version too --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 53e3cbd..3354a3b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ARCH := darwin/amd64 darwin/arm64 linux/386 linux/amd64 windows/386 windows/amd64 -VERSION := $(shell git describe --always --dirty) +VERSION := $(shell git describe --always --dirty --tags) LDFLAGS := -ldflags "-X main.version=${VERSION}" BUILD_DIR := build