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:
parent
56985c1093
commit
59b5da086d
3
Makefile
3
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user