use "git desribe --tags" in makerpms.sh
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>libnfs-4.0.0-vitalif
parent
9e031df11d
commit
f8b06ead8e
|
@ -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-}
|
||||||
|
|
Loading…
Reference in New Issue