mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ctdb:build: Update mkversion.sh to use samba-* tags
To test CTDB on a cluster we need to be able to build test RPMs with relatively sane version numbers. This is a minimal change to allow that to happen, until CTDB is integrated into the Samba build system. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
92489bfed4
commit
609fee6135
@ -34,10 +34,10 @@ fi
|
||||
#
|
||||
# If we're not directly on a tag, this is a devel release; we append
|
||||
# .0.<patchnum>.<checksum>.devel to the release.
|
||||
TAG=`git describe`
|
||||
TAG=`git describe --match "samba-*"`
|
||||
case "$TAG" in
|
||||
ctdb-*)
|
||||
TAG=${TAG##ctdb-}
|
||||
samba-*)
|
||||
TAG=${TAG##samba-}
|
||||
case "$TAG" in
|
||||
*-*-g*) # 0.9-168-ge6cf0e8
|
||||
# Not exactly on tag: devel version.
|
||||
|
Loading…
Reference in New Issue
Block a user