summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 57ca017..c190360 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
NAME := comitium
# will automatically set main.Version with this string
-VERSION ?= 1.2.2
+VERSION ?= 1.2.3
# source dirs & files #
GOSRC := $(shell find . -type f -name '*.go')
@@ -22,9 +22,9 @@ GO ?= go
# purely statically link (useful for cross compiling)
#GO ?= CGO_ENABLED=0 go
GOFLAGS ?=
-GOLDFLAGS ?= -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
+#GOLDFLAGS ?= -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
# also strips executable, significantly reduces size
-#GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)$(GITDIRTY)
+GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)$(GITDIRTY)
SCDOC ?= scdoc
MKDIR ?= mkdir -p
RM ?= rm -f