Update of /cvsroot/python/python/dist/src/Doc/tools In directory sc8-pr-cvs1:/tmp/cvs-serv12445 Modified Files: push-docs.sh Log Message: - change computation of VERSION to use tools/getversioninfo; this is more reliable than using the $Revision$ expansion - $RELEASE is no longer needed; we can just use $VERSION now Index: push-docs.sh =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/tools/push-docs.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** push-docs.sh 4 Apr 2002 18:06:06 -0000 1.15 --- push-docs.sh 28 Sep 2003 22:14:29 -0000 1.16 *************** *** 11,17 **** ADDRESSES='python-dev@python.org doc-sig@python.org python-list@python.org' ! VERSION=`echo '$Revision$' | sed 's/[$]Revision: \(.*\) [$]/\1/'` EXTRA=`echo "$VERSION" | sed 's/^[0-9][0-9]*\.[0-9][0-9]*//'` ! if [ "$EXTRA" ] ; then DOCLABEL="maintenance" DOCTYPE="maint" --- 11,21 ---- ADDRESSES='python-dev@python.org doc-sig@python.org python-list@python.org' ! TOOLDIR="`dirname $0`" ! VERSION=`$TOOLDIR/getversioninfo` ! ! # Set $EXTRA to something non-empty if this is a non-trunk version: EXTRA=`echo "$VERSION" | sed 's/^[0-9][0-9]*\.[0-9][0-9]*//'` ! ! if echo "$EXTRA" | grep -q '[.]' ; then DOCLABEL="maintenance" DOCTYPE="maint" *************** *** 69,74 **** # now in .../Doc/ make --no-print-directory bziphtml || exit $? ! RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'` ! PACKAGE="html-$RELEASE.tar.bz2" scp "$PACKAGE" tools/update-docs.sh $TARGET/ || exit $? ssh "$TARGETHOST" tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $? --- 73,77 ---- # now in .../Doc/ make --no-print-directory bziphtml || exit $? ! PACKAGE="html-$VERSION.tar.bz2" scp "$PACKAGE" tools/update-docs.sh $TARGET/ || exit $? ssh "$TARGETHOST" tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $?
participants (1)
-
fdrake@users.sourceforge.net