mirror of
https://github.com/python/cpython.git
synced 2025-11-11 22:55:08 +00:00
Update to use the new release number. Will generalize in the next round.
This commit is contained in:
parent
f5013f1f0c
commit
e3ae5198a3
1 changed files with 8 additions and 8 deletions
|
|
@ -12,30 +12,30 @@
|
||||||
#
|
#
|
||||||
# with [tag]: generate from the named tag
|
# with [tag]: generate from the named tag
|
||||||
|
|
||||||
VERSION=1.5
|
RELEASE=1.5.1
|
||||||
|
|
||||||
TEMPDIR=tmp.$$
|
TEMPDIR=tmp.$$
|
||||||
MYDIR=`pwd`
|
MYDIR=`pwd`
|
||||||
|
|
||||||
TAG="$1"
|
TAG="$1"
|
||||||
|
|
||||||
mkdirhier $TEMPDIR/Python-$VERSION/Doc || exit $?
|
mkdirhier $TEMPDIR/Python-$RELEASE/Doc || exit $?
|
||||||
if [ "$TAG" ] ; then
|
if [ "$TAG" ] ; then
|
||||||
cvs export -r $TAG -d $TEMPDIR/Python-$VERSION/Doc python/dist/src/Doc \
|
cvs export -r $TAG -d $TEMPDIR/Python-$RELEASE/Doc python/dist/src/Doc \
|
||||||
|| exit $?
|
|| exit $?
|
||||||
else
|
else
|
||||||
cvs checkout -d $TEMPDIR/Python-$VERSION/Doc python/dist/src/Doc || exit $?
|
cvs checkout -d $TEMPDIR/Python-$RELEASE/Doc python/dist/src/Doc || exit $?
|
||||||
rm -r `find $TEMPDIR -name CVS -print` || exit $?
|
rm -r `find $TEMPDIR -name CVS -print` || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f `find $TEMPDIR/Python-$VERSION -name .cvsignore -print`
|
rm -f `find $TEMPDIR/Python-$RELEASE -name .cvsignore -print`
|
||||||
|
|
||||||
rm -f $TEMPDIR/Python-$VERSION/Doc/ref/ref.pdf
|
rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.pdf
|
||||||
rm -f $TEMPDIR/Python-$VERSION/Doc/ref/ref.ps
|
rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.ps
|
||||||
|
|
||||||
cd $TEMPDIR
|
cd $TEMPDIR
|
||||||
|
|
||||||
(tar cf - Python-$VERSION | gzip -9 >$MYDIR/latex-$VERSION.tar.gz) || exit $?
|
(tar cf - Python-$RELEASE | gzip -9 >$MYDIR/latex-$RELEASE.tar.gz) || exit $?
|
||||||
cd $MYDIR
|
cd $MYDIR
|
||||||
rm -r $TEMPDIR || exit $?
|
rm -r $TEMPDIR || exit $?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue