mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 11:43:20 +08:00
[build]
This commit is contained in:
parent
ca8ed0a01b
commit
847c91503b
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ NAME=Clash.Meta
|
|||||||
BINDIR=bin
|
BINDIR=bin
|
||||||
BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
|
BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
|
||||||
VERSION=$(shell git describe --tags || echo "unknown version" )
|
VERSION=$(shell git describe --tags || echo "unknown version" )
|
||||||
ifeq ($(BRANCH),Feature)
|
ifeq ($(BRANCH),Alpha)
|
||||||
VERSION=alpha-$(shell git rev-parse --short HEAD)
|
VERSION=alpha-$(shell git rev-parse --short HEAD)
|
||||||
endif
|
endif
|
||||||
BUILDTIME=$(shell date -u)
|
BUILDTIME=$(shell date -u)
|
||||||
|
Loading…
Reference in New Issue
Block a user