mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-07 19:13:01 +00:00
Fix version fetching in Makefile
Fixes: https://github.com/bouncepaw/mycorrhiza/issues/174
This commit is contained in:
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user