diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-15 00:56:09 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-15 00:56:09 +0200 |
commit | 53f2a0c56e9604b8ac5cff73e62fc387c4676365 (patch) | |
tree | 527768162c83c930b05d408ed441ef6379bfe918 /Makefile | |
parent | 840bfc5fd01bf036344bd687d2e40e0fc19f39e4 (diff) |
Fix sub version setting
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ SYNCTHING_INOTIFY_VERSION = master # Retrieve git tag/commit to set sub-version string ifeq ($(origin SUB_VERSION), undefined) - SUB_VERSION := $(shell git describe --tags 2>/dev/null | sed 's/^v//') + SUB_VERSION := $(shell git describe --exact-match --tags 2>/dev/null | sed 's/^v//') ifneq ($(SUB_VERSION), ) VERSION := $(firstword $(subst -, ,$(SUB_VERSION))) SUB_VERSION := $(word 2,$(subst -, ,$(SUB_VERSION))) |