forked from remote/site-ffmuc
Use better version naming scheme for autoupdater compat
This commit is contained in:
6
Makefile
6
Makefile
@@ -4,12 +4,10 @@ GLUON_GIT_REF := 754e4af1d738ebb84fd63bd98d6b606613202898
|
|||||||
|
|
||||||
SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key
|
SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key
|
||||||
|
|
||||||
_GIT_DESCRIBE = $(shell git describe --tags 2>/dev/null)
|
GLUON_RELEASE := $(shell git describe --tags 2>/dev/null)
|
||||||
ifneq (,${_GIT_DESCRIBE})
|
ifneq (,$(shell git describe --exact-match --tags 2>/dev/null))
|
||||||
GLUON_RELEASE := ${_GIT_DESCRIBE}
|
|
||||||
GLUON_BRANCH := stable
|
GLUON_BRANCH := stable
|
||||||
else
|
else
|
||||||
GLUON_RELEASE ?= snapshot~$(shell date '+%Y%m%d')~$(shell git describe --always)
|
|
||||||
GLUON_BRANCH := experimental
|
GLUON_BRANCH := experimental
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user