Bump version

This commit is contained in:
nytpu
2021-03-21 07:37:55 -06:00
parent 69a7ab13ff
commit 197ec225ff
+3 -3
View File
@@ -3,7 +3,7 @@
NAME := comitium NAME := comitium
# will automatically set main.Version with this string # will automatically set main.Version with this string
VERSION ?= 1.2.2 VERSION ?= 1.2.3
# source dirs & files # # source dirs & files #
GOSRC := $(shell find . -type f -name '*.go') GOSRC := $(shell find . -type f -name '*.go')
@@ -22,9 +22,9 @@ GO ?= go
# purely statically link (useful for cross compiling) # purely statically link (useful for cross compiling)
#GO ?= CGO_ENABLED=0 go #GO ?= CGO_ENABLED=0 go
GOFLAGS ?= 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 # 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 SCDOC ?= scdoc
MKDIR ?= mkdir -p MKDIR ?= mkdir -p
RM ?= rm -f RM ?= rm -f