diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-05 17:52:12 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-05 17:52:12 +0300 |
commit | 6d9684db3a39fcf5c630f2a5df0d121bef95a20e (patch) | |
tree | 1dbd8d46175e02327f9a8c6c54cc3c96e13baa38 /Makefile | |
parent | a0641c913edcd90428f4e8749c7b8d61609913f9 (diff) |
Fix beta version suffix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |