mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-02-09 23:50:10 +00:00
Fix version fetching in Makefile
Fixes: https://github.com/bouncepaw/mycorrhiza/issues/174
This commit is contained in:
parent
56985c1093
commit
59b5da086d
3
Makefile
3
Makefile
@ -5,8 +5,7 @@ PREFIX=/usr/local
|
|||||||
BINDIR=$(PREFIX)/bin
|
BINDIR=$(PREFIX)/bin
|
||||||
MANDIR=$(PREFIX)/share/man
|
MANDIR=$(PREFIX)/share/man
|
||||||
GO=go
|
GO=go
|
||||||
TAGGED_RELEASE!=git describe --tags --abbrev=0
|
LDFLAGS=-X "github.com/bouncepaw/mycorrhiza/version.taggedRelease=$$(git describe --tags --abbrev=0)"
|
||||||
LDFLAGS=-X "github.com/bouncepaw/mycorrhiza/version.taggedRelease=$(TAGGED_RELEASE)"
|
|
||||||
|
|
||||||
all: mycorrhiza
|
all: mycorrhiza
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user