d4c89e568c
- Ticket 47513 - tmpfiles.d references /var/lock when they should reference /run/lock - Ticket 47551 - logconv: -V does not produce unindexed search report - Ticket 47490 - Schema replication between DS versions may overwrite newer base schema
24 lines
399 B
Bash
24 lines
399 B
Bash
#!/bin/bash
|
|
|
|
DATE=`date +%Y%m%d`
|
|
# use a real tag name here
|
|
VERSION=1.3.2.1
|
|
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
|