Commits

Fred Drake committed 5dcc5c4

Update to use the new release number. Will generalize in the next round.

Comments (0)

Files changed (1)

Doc/tools/mktarball.sh

 #
 #  with [tag]:  generate from the named tag
 
-VERSION=1.5
+RELEASE=1.5.1
 
 TEMPDIR=tmp.$$
 MYDIR=`pwd`
 
 TAG="$1"
 
-mkdirhier $TEMPDIR/Python-$VERSION/Doc || exit $?
+mkdirhier $TEMPDIR/Python-$RELEASE/Doc || exit $?
 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 $?
 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 $?
 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-$VERSION/Doc/ref/ref.ps
+rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.pdf
+rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.ps
 
 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
 rm -r $TEMPDIR || exit $?