Append output from 'git describe' to APP_VERSION when RELEASE isn't specified.

This commit is contained in:
yellows8 2018-10-24 19:25:31 -04:00
parent d97eebc26f
commit 784dbc3623

View File

@ -1,5 +1,9 @@
export APP_VERSION := 2.0.0 export APP_VERSION := 2.0.0
ifeq ($(RELEASE),)
export APP_VERSION := $(APP_VERSION)-$(shell git describe --dirty --always)
endif
.PHONY: clean all nx pc dist-bin .PHONY: clean all nx pc dist-bin
all: nx pc all: nx pc