From f8b06ead8efb62fd790295940fbf07ae8400a28d Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 13 Feb 2019 06:15:44 +1000 Subject: [PATCH] use "git desribe --tags" in makerpms.sh Signed-off-by: Ronnie Sahlberg --- packaging/RPM/makerpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/RPM/makerpms.sh b/packaging/RPM/makerpms.sh index c11841b..999eb86 100755 --- a/packaging/RPM/makerpms.sh +++ b/packaging/RPM/makerpms.sh @@ -50,7 +50,7 @@ RPMBUILD="rpmbuild" # # If we're not directly on a tag, this is a devel release; we append # .0...devel to the release. -TAG=`git describe` +TAG=`git describe --tags` case "$TAG" in libnfs-*) TAG=${TAG##libnfs-}