From 9668aa58ef0e1fac3b658905e3868c060906a087 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 18 Nov 2020 15:10:19 +0300 Subject: [PATCH] mdbx-make: explicitly fetch git-tags on `make dist`. Change-Id: I19d96dba645af0302f2b91870e7311336c4e5083 --- GNUmakefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index cccab3bf..37619180 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -299,8 +299,11 @@ mdbx++-dylib.o: src/config.h src/mdbx.c++ mdbx.h mdbx.h++ $(lastword $(MAKEFILE_ mdbx++-static.o: src/config.h src/mdbx.c++ mdbx.h mdbx.h++ $(lastword $(MAKEFILE_LIST)) $(CXX) $(CXXFLAGS) $(MDBX_OPTIONS) '-DMDBX_CONFIG_H="config.h"' -ULIBMDBX_EXPORTS -c src/mdbx.c++ -o $@ -.PHONY: dist release-assets -dist: libmdbx-sources-$(MDBX_VERSION_SUFFIX).tar.gz $(lastword $(MAKEFILE_LIST)) +.PHONY: dist release-assets tags +dist: tags libmdbx-sources-$(MDBX_VERSION_SUFFIX).tar.gz $(lastword $(MAKEFILE_LIST)) + +tags: + git fetch --tags release-assets: libmdbx-sources-$(MDBX_VERSION_SUFFIX).tar.gz libmdbx-sources-$(MDBX_VERSION_SUFFIX).zip