389-ds-base/389-ds-base-git-local.sh
Richard Allen Megginson 9de19f7e13 1.2.4 release resolves bug 221905 - added support for Salted MD5 (SMD5)
passwords - primarily for migration resolves bug 529258 - Make upgrade
    remove obsolete schema from 99user.ldif tracking bug -
    https://bugzilla.redhat.com/show_bug.cgi?id=531879
2009-10-29 18:00:01 +00:00

24 lines
385 B
Bash

#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.4
PKGNAME=389-ds-base
TAG=$PKGNAME-$VERSION
#SRCNAME=$PKGNAME-$VERSION-$DATE
SRCNAME=$PKGNAME-$VERSION
echo you must be in the ds git repo to use this
test -d .git || {
echo bye
exit 1
}
if [ -z "$1" ] ; then
dir=.
else
dir="$1"
fi
git archive --prefix=$SRCNAME/ $TAG | bzip2 > $dir/$SRCNAME.tar.bz2