Fix edge channel version string

This commit is contained in:
Andrey Meshkov 2020-07-22 21:29:22 +03:00
parent f2edcca54b
commit ccf5494f67
1 changed files with 5 additions and 1 deletions

View File

@ -55,7 +55,11 @@ SNAPSHOT_VERSION=$(RELEASE_VERSION)-SNAPSHOT-$(COMMIT)
# Set proper version
VERSION=
ifeq ($(TAG_NAME),$(shell git describe --abbrev=4))
ifeq ($(CHANNEL),edge)
VERSION=$(SNAPSHOT_VERSION)
else
VERSION=$(RELEASE_VERSION)
endif
else
VERSION=$(SNAPSHOT_VERSION)
endif