We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 111c95e commit 618407cCopy full SHA for 618407c
Makefile
@@ -9,9 +9,7 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g')
9
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
10
JAVASCRIPTS :=
11
12
-VERSION = $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
13
-
14
-LDFLAGS += -X "main.Version=$(VERSION)"
+LDFLAGS += -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')"
15
16
TARGETS ?= linux/*,darwin/*,windows/*
17
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
0 commit comments