389-ds-base/389-ds-base-git-local.sh
Noriko Hosoi 476a97fe21 release 1.3.2.3
- Ticket 47515 - Fedora 20: setup-ds-admin.pl
- Ticket 47569 - Fix build warnings
- Ticket 47569 - ACIs do not allow attribute subtypes in targetattr keyword
- Ticket 47565 - Content Sync update file needs extensibleObject
- Ticket 47560 - fixup memberof task does not work: task entry not added
- Ticket 47559 - hung server - related to sasl and initialize
2013-10-28 13:57:50 -07:00

24 lines
399 B
Bash

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