summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.top
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/Makefile.top')
-rw-r--r--makefiles/Makefile.top4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top
index f9f21df..031a150 100644
--- a/makefiles/Makefile.top
+++ b/makefiles/Makefile.top
@@ -242,8 +242,8 @@ docs: $(BUILDDIR)/stamp
# the Makefile component version matches the git tag version and the
# tar is apropriately named for the component being generated
dist:
- $(eval GIT_TAG := $(shell git describe --abbrev=0 --match "v*"))
- $(eval GIT_VER := $(shell x="$(GIT_TAG)"; echo "$${x#v}"))
+ $(eval GIT_TAG := $(shell git describe --abbrev=0 --match "release/*"))
+ $(eval GIT_VER := $(shell x="$(GIT_TAG)"; echo "$${x#release/}"))
$(if $(subst $(GIT_VER),,$(COMPONENT_VERSION)), $(error Component Version "$(COMPONENT_VERSION)" and GIT tag version "$(GIT_VER)" do not match))
ifeq ($(findstring lib,$(COMPONENT_TYPE)),lib)
$(eval DIST_FILE := lib$(COMPONENT)-${GIT_VER})