~kt/udprelay

57796e1088323e3ae6c5bc96be08288b0d4b2e4a — Katie Wolfe 5 months ago 3b58bea
Fix $(VERSION) in cases where the directory isn't a git repository
1 files changed, 1 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +1 -1
@@ 1,6 1,6 @@
GO = go

VERSION = $(shell git describe --dirty --broken --match 'v*')
VERSION := $(shell git describe --dirty --broken --match 'v*' 2>/dev/null)

LDFLAGS = '$(if $(VERSION),-X main.Version=$(VERSION))'