mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
fix: Failed to get version tag
This commit is contained in:
parent
b2d16f278d
commit
623a2792d4
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ ifeq ($(BRANCH),Alpha)
|
||||||
VERSION=alpha-$(shell git rev-parse --short HEAD)
|
VERSION=alpha-$(shell git rev-parse --short HEAD)
|
||||||
else ifeq ($(BRANCH),Beta)
|
else ifeq ($(BRANCH),Beta)
|
||||||
VERSION=beta-$(shell git rev-parse --short HEAD)
|
VERSION=beta-$(shell git rev-parse --short HEAD)
|
||||||
else ifeq ($(BRANCH),HEAD)
|
else ifeq ($(BRANCH),)
|
||||||
VERSION=$(shell git describe --tags)
|
VERSION=$(shell git describe --tags)
|
||||||
else
|
else
|
||||||
VERSION=unknown
|
VERSION=unknown
|
||||||
|
|
Loading…
Reference in New Issue
Block a user