Update Makefile

This commit is contained in:
Skyxim
2022-05-01 21:55:58 +08:00
committed by GitHub
parent 2c7ae8753d
commit 4323eb79f3

View File

@@ -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),Meta) else ifeq ($(BRANCH),HEAD)
VERSION=$(shell git describe --tags) VERSION=$(shell git describe --tags)
else else
VERSION=unknown VERSION=unknown