Skip to content

Commit

Permalink
Update constant version. Add transitional support for patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jguer committed Oct 8, 2018
1 parent e316c97 commit 621b8aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 621b8aa

Please sign in to comment.