]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update to use the new release number. Will generalize in the next round.
authorFred Drake <fdrake@acm.org>
Mon, 13 Apr 1998 21:55:56 +0000 (21:55 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 13 Apr 1998 21:55:56 +0000 (21:55 +0000)
Doc/tools/mktarball.sh

index 6e7ea81bff55786c627a735b4e8094d25a120ef2..cd8bd8f26142a4f0609d3267abd161812a5641b7 100755 (executable)
 #
 #  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 $?