source: trunk/mktar @ 199

Last change on this file since 199 was 199, checked in by darcy, 14 years ago

Change to version 3.6.2
Main change is to fix namespace handling with primary keys.

  • Property svn:executable set to *
File size: 883 bytes
Line 
1#! /bin/sh
2
3BETA=NO
4VERSION=3.6.2
5
6# small safety test
7if [ ! -f module/pgmodule.c ]
8then
9        echo "Hmmm.  Are you sure you are in the right directory?"
10        exit 1
11fi
12
13if [ $BETA = "YES" ]
14then
15        VERSION=$VERSION-pre`date +"%y%m%d"`
16        PACKAGE=pygresql.pkg-beta
17        SYMLINK=PyGreSQL-beta.tgz
18else
19        PACKAGE=pygresql.pkg
20        SYMLINK=PyGreSQL.tgz
21fi
22
23TF=/usr/ftp/pub/distrib/PyGreSQL-$VERSION.tgz
24DISTFILES="docs/Announce docs/ChangeLog module/pg.py module/pgdb.py module/pgmodule.c module/setup.py"
25CWD=`pwd`
26
27rm -rf  PyGreSQL-$VERSION
28mkdir PyGreSQL-$VERSION PyGreSQL-$VERSION/tutorial
29cp web/README.txt PyGreSQL-$VERSION/README
30cp ${DISTFILES} PyGreSQL-$VERSION
31cp tutorial/*.py PyGreSQL-$VERSION/tutorial
32tar cvzf $TF PyGreSQL-$VERSION
33chmod 644 $TF
34rm -rf  PyGreSQL-$VERSION
35rm -f /usr/ftp/pub/distrib/$SYMLINK
36ln -s PyGreSQL-$VERSION.tgz /usr/ftp/pub/distrib/$SYMLINK
37echo "$TF has been built"
38
Note: See TracBrowser for help on using the repository browser.