Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-05 17:52:12 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-05 17:52:12 +0300
commit6d9684db3a39fcf5c630f2a5df0d121bef95a20e (patch)
tree1dbd8d46175e02327f9a8c6c54cc3c96e13baa38 /Makefile
parenta0641c913edcd90428f4e8749c7b8d61609913f9 (diff)
Fix beta version suffix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4a9bee0..3ad0447d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ LAST_TAG := $(shell git describe --tags --abbrev=0)
COMMITS := $(shell echo `git log --oneline $(LAST_TAG)..HEAD | wc -l`)
VERSION := $(shell cat VERSION)
-ifneq ($(VERSION),$(LAST_TAG))
+ifneq (v$(VERSION),$(LAST_TAG))
VERSION := $(shell echo $(VERSION)~beta.$(COMMITS).g$(REVISION))
endif