Browse Source

Update constant version. Add transitional support for patch version

Jguer 6 years ago
parent
commit
621b8aac43
2 changed files with 3 additions and 2 deletions
  1. 2 1
      Makefile
  2. 1 1
      config.go

+ 2 - 1
Makefile

@@ -5,7 +5,8 @@ DESTDIR :=
 
 MAJORVERSION := 8
 MINORVERSION ?= $(shell git rev-list --count master)
-VERSION ?= ${MAJORVERSION}.${MINORVERSION}
+PATCHVERSION := 0
+VERSION ?= ${MAJORVERSION}.${MINORVERSION}.${PATCHVERSION}
 
 LDFLAGS := -ldflags '-s -w -X main.version=${VERSION}'
 ARCH := $(shell uname -m)

+ 1 - 1
config.go

@@ -78,7 +78,7 @@ type Configuration struct {
 	UseAsk             bool   `json:"useask"`
 }
 
-var version = "8.1139"
+var version = "8.1157"
 
 // configFileName holds the name of the config file.
 const configFileName string = "config.json"