mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Update constant version. Add transitional support for patch version
This commit is contained in:
parent
e316c979cc
commit
621b8aac43
2 changed files with 3 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -5,7 +5,8 @@ DESTDIR :=
|
||||||
|
|
||||||
MAJORVERSION := 8
|
MAJORVERSION := 8
|
||||||
MINORVERSION ?= $(shell git rev-list --count master)
|
MINORVERSION ?= $(shell git rev-list --count master)
|
||||||
VERSION ?= ${MAJORVERSION}.${MINORVERSION}
|
PATCHVERSION := 0
|
||||||
|
VERSION ?= ${MAJORVERSION}.${MINORVERSION}.${PATCHVERSION}
|
||||||
|
|
||||||
LDFLAGS := -ldflags '-s -w -X main.version=${VERSION}'
|
LDFLAGS := -ldflags '-s -w -X main.version=${VERSION}'
|
||||||
ARCH := $(shell uname -m)
|
ARCH := $(shell uname -m)
|
||||||
|
|
|
@ -78,7 +78,7 @@ type Configuration struct {
|
||||||
UseAsk bool `json:"useask"`
|
UseAsk bool `json:"useask"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var version = "8.1139"
|
var version = "8.1157"
|
||||||
|
|
||||||
// configFileName holds the name of the config file.
|
// configFileName holds the name of the config file.
|
||||||
const configFileName string = "config.json"
|
const configFileName string = "config.json"
|
||||||
|
|
Loading…
Reference in a new issue