1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-02-09 07:30:11 +00:00

Fix version fetching in Makefile

Fixes: https://github.com/bouncepaw/mycorrhiza/issues/174
This commit is contained in:
Umar Getagazov 2022-09-07 12:50:48 +03:00
parent 56985c1093
commit 59b5da086d

View File

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