using --first-parent option to describe git version
This commit is contained in:
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ RELEASE ?= 1
|
|||||||
|
|
||||||
SRC ?= main
|
SRC ?= main
|
||||||
|
|
||||||
VERSION_FULL ?= $(shell test -e .git && git describe --tags --long)
|
VERSION_FULL ?= $(shell test -e .git && git describe --tags --long --first-parent)
|
||||||
ifeq ($(VERSION_FULL),)
|
ifeq ($(VERSION_FULL),)
|
||||||
VERSION_FULL := $(VERSION)
|
VERSION_FULL := $(VERSION)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user