389-ds-base/389-ds-base-git-local.sh
Rich Megginson 54c4422066 this is the 1.2.7.a3 release
this is the 1.2.7.a3 release
Bug 644608 - RHDS 8.1->8.2 upgrade fails to properly migrate ACIs
Bug 629681 - Retro Changelog trimming does not behave as expected
Bug 645061 - Upgrade: 06inetorgperson.ldif and 05rfc4524.ldif
    are not upgraded in the server instance schema dir
2010-10-22 17:07:18 -06:00

24 lines
396 B
Bash

#!/bin/bash
DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.7.a3
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