[cxml-cvs] CVS closure-common
dlichteblau
dlichteblau at common-lisp.net
Sun Oct 21 18:31:53 UTC 2007
Update of /project/cxml/cvsroot/closure-common
In directory clnet:/tmp/cvs-serv8224
Added Files:
dist.sh
Log Message:
dist.sh script for release preparation
--- /project/cxml/cvsroot/closure-common/dist.sh 2007/10/21 18:31:53 NONE
+++ /project/cxml/cvsroot/closure-common/dist.sh 2007/10/21 18:31:53 1.1
#!/bin/sh
cd $(dirname $0)
home=$(pwd)
name=$(basename $home)
dir=${name}-$(date --iso)
TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX`
cleanup() {
cd
rm -rf $TMPDIR
}
trap cleanup exit
cd $TMPDIR
cvs -d "`cat $home/CVS/Root`" export -r HEAD -d "$dir" "$name"
tgz=$TMPDIR/${dir}.tgz
tar czf $tgz $dir
gpg -b -a $tgz
mv $tgz $tgz.asc $home/
More information about the Cxml-cvs
mailing list