fix: Failed to get version tag
This commit is contained in:
parent
5acd2f6c3a
commit
2c5a47a275
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ ifeq ($(BRANCH),Alpha)
|
|||
VERSION=alpha-$(shell git rev-parse --short HEAD)
|
||||
else ifeq ($(BRANCH),Beta)
|
||||
VERSION=beta-$(shell git rev-parse --short HEAD)
|
||||
else ifeq ($(BRANCH),HEAD)
|
||||
else ifeq ($(BRANCH),)
|
||||
VERSION=$(shell git describe --tags)
|
||||
else
|
||||
VERSION=unknown
|
||||
|
|
Loading…
Reference in a new issue