Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3ae519

Browse files
committed
Update to use the new release number. Will generalize in the next round.
1 parent f5013f1 commit e3ae519

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/tools/mktarball.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@
1212
#
1313
# with [tag]: generate from the named tag
1414

15-
VERSION=1.5
15+
RELEASE=1.5.1
1616

1717
TEMPDIR=tmp.$$
1818
MYDIR=`pwd`
1919

2020
TAG="$1"
2121

22-
mkdirhier $TEMPDIR/Python-$VERSION/Doc || exit $?
22+
mkdirhier $TEMPDIR/Python-$RELEASE/Doc || exit $?
2323
if [ "$TAG" ] ; then
24-
cvs export -r $TAG -d $TEMPDIR/Python-$VERSION/Doc python/dist/src/Doc \
24+
cvs export -r $TAG -d $TEMPDIR/Python-$RELEASE/Doc python/dist/src/Doc \
2525
|| exit $?
2626
else
27-
cvs checkout -d $TEMPDIR/Python-$VERSION/Doc python/dist/src/Doc || exit $?
27+
cvs checkout -d $TEMPDIR/Python-$RELEASE/Doc python/dist/src/Doc || exit $?
2828
rm -r `find $TEMPDIR -name CVS -print` || exit $?
2929
fi
3030

31-
rm -f `find $TEMPDIR/Python-$VERSION -name .cvsignore -print`
31+
rm -f `find $TEMPDIR/Python-$RELEASE -name .cvsignore -print`
3232

33-
rm -f $TEMPDIR/Python-$VERSION/Doc/ref/ref.pdf
34-
rm -f $TEMPDIR/Python-$VERSION/Doc/ref/ref.ps
33+
rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.pdf
34+
rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.ps
3535

3636
cd $TEMPDIR
3737

38-
(tar cf - Python-$VERSION | gzip -9 >$MYDIR/latex-$VERSION.tar.gz) || exit $?
38+
(tar cf - Python-$RELEASE | gzip -9 >$MYDIR/latex-$RELEASE.tar.gz) || exit $?
3939
cd $MYDIR
4040
rm -r $TEMPDIR || exit $?
4141

0 commit comments

Comments
 (0)