use "git desribe --tags" in makerpms.sh

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2019-02-13 06:15:44 +10:00
parent 9e031df11d
commit f8b06ead8e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ RPMBUILD="rpmbuild"
# #
# If we're not directly on a tag, this is a devel release; we append # If we're not directly on a tag, this is a devel release; we append
# .0.<patchnum>.<checksum>.devel to the release. # .0.<patchnum>.<checksum>.devel to the release.
TAG=`git describe` TAG=`git describe --tags`
case "$TAG" in case "$TAG" in
libnfs-*) libnfs-*)
TAG=${TAG##libnfs-} TAG=${TAG##libnfs-}