From 59b5da086ddb4c7e75acef1648d3577051c4c81f Mon Sep 17 00:00:00 2001 From: Umar Getagazov Date: Wed, 7 Sep 2022 12:50:48 +0300 Subject: [PATCH] Fix version fetching in Makefile Fixes: https://github.com/bouncepaw/mycorrhiza/issues/174 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 00dd58d..fe0aec9 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,7 @@ PREFIX=/usr/local BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/share/man GO=go -TAGGED_RELEASE!=git describe --tags --abbrev=0 -LDFLAGS=-X "github.com/bouncepaw/mycorrhiza/version.taggedRelease=$(TAGGED_RELEASE)" +LDFLAGS=-X "github.com/bouncepaw/mycorrhiza/version.taggedRelease=$$(git describe --tags --abbrev=0)" all: mycorrhiza