Update constant version. Add transitional support for patch version
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user