From 18f34d01e3d23e9c0e10110a6de58ff80a36b10e Mon Sep 17 00:00:00 2001 From: Andrew Nikitin Date: Thu, 9 Dec 2021 17:35:32 +0300 Subject: [PATCH] Merge pull request #249 from cheqd/fix_binary_version Add --tag for releases --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d67398b27..73fdbaa31 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -export VERSION := $(shell echo $(shell git describe --always --match "v*") | sed 's/^v//') +export VERSION := $(shell echo $(shell git describe --always --tag --match "v*") | sed 's/^v//') export TMVERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::') export COMMIT := $(shell git log -1 --format='%H')