summaryrefslogtreecommitdiffstats
path: root/release-scripts
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-21 11:45:23 +0100
committerMichael Adam <obnox@samba.org>2009-01-21 11:46:36 +0100
commitce3e34d37ce5592e0268be5d16240387d971585a (patch)
treece8dda7541979455caa0cb9a22976aa78f57c6bd /release-scripts
parent65c92fea3d18c3520ff2a1e53a0c5c8825c9788f (diff)
downloadsamba-ce3e34d37ce5592e0268be5d16240387d971585a.tar.gz
samba-ce3e34d37ce5592e0268be5d16240387d971585a.tar.xz
samba-ce3e34d37ce5592e0268be5d16240387d971585a.zip
s3:create-tarball: also include the VENDOR_PATCH in the version
Michael
Diffstat (limited to 'release-scripts')
-rwxr-xr-xrelease-scripts/create-tarball4
1 files changed, 4 insertions, 0 deletions
diff --git a/release-scripts/create-tarball b/release-scripts/create-tarball
index ab27f082225..3e80cd1f07a 100755
--- a/release-scripts/create-tarball
+++ b/release-scripts/create-tarball
@@ -183,6 +183,10 @@ function main
if [ -n "$vendor_version" ]; then
version="$version-$vendor_version"
fi
+ vendor_patch=`grep "define SAMBA_VERSION_VENDOR_PATCH" $VER_H | awk '{print $3}'`
+ if [ -n "$vendor_patch" ]; then
+ version="$version-$vendor_patch"
+ fi
version=`echo $version | sed 's/\"//g'`
echo "Creating release tarball for Samba $version"