9de19f7e13
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
24 lines
385 B
Bash
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
|