mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-03 17:13:07 +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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user