mirror of
https://github.com/Jguer/yay
synced 2024-07-18 08:23:32 +00:00
Update constant version. Add transitional support for patch version
This commit is contained in:
parent
e316c979cc
commit
621b8aac43
3
Makefile
3
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)
|
||||
|
|
Loading…
Reference in a new issue