389-ds-base/389-ds-base-git-local.sh
Rich Megginson 11e20b6a99 Bug 735121 - simple paged search + ip/dns based ACI hangs server
Bug 722292 - (cov#11030) Leak of mapped_sdn in winsync rename code
Bug 703990 - cross-platform - Support upgrade from Red Hat Directory Server
Introducing an environment variable USE_VALGRIND to clean up the entry cache and dn cache on exit.
2011-09-01 14:31:40 -06:00

24 lines
395 B
Bash

#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.9.9
PKGNAME=389-ds-base
TAG=${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