From 621b8aac43cd128aed87e7d4b63775e92f0ebc19 Mon Sep 17 00:00:00 2001 From: Jguer Date: Mon, 8 Oct 2018 18:46:51 +0100 Subject: [PATCH] Update constant version. Add transitional support for patch version --- Makefile | 3 ++- config.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ddcade00..422d5898 100644 --- a/Makefile +++ b/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) diff --git a/config.go b/config.go index b36d25e8..d458090f 100644 --- a/config.go +++ b/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"