Add 'Currencies' filter to the ring player stats viewer.
[fpdb-dooglus.git] / utils / create-release.sh
blob3d63bdc7b2016efa6ba7e73d726037541d8ef765
1 #!/bin/sh
3 #Copyright 2008-2011 Steffen Schaumburg, Ray E. Barker
4 #This program is free software: you can redistribute it and/or modify
5 #it under the terms of the GNU Affero General Public License as published by
6 #the Free Software Foundation, version 3 of the License.
8 #This program is distributed in the hope that it will be useful,
9 #but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 #GNU General Public License for more details.
13 #You should have received a copy of the GNU Affero General Public License
14 #along with this program. If not, see <http://www.gnu.org/licenses/>.
15 #In the "official" distribution you can find the license in agpl-3.0.txt.
17 # This script prepares the compressed distribution files for
18 # uploading to sourceforge.
20 # Run from the root of your git repo (the folder that has .git in it)
22 # USAGE: $ utils/create-release.sh V
23 # where V is the current version. e.g. utils/create-release.sh 0.55
25 #get rid of extraneous stuff
26 rm regression-test/*.found.txt
27 rm regression-test/*.pyc
28 rm pyfpdb/*.pyc
29 rm pyfpdb/*~
30 rm pyfpdb/fpdb-error-log.txt
31 rm pyfpdb/HUD-error.txt
32 rm pyfpdb/hand-errors.txt
34 # make the fpdb_$1.zip file for windows
35 echo "*** making zip file"
36 zip -r ../fpdb_$1.zip docs
37 zip -r ../fpdb_$1.zip packaging
38 zip -r ../fpdb_$1.zip pyfpdb
40 # now make the fpdb_$1.tar.bz2 file for linux
41 echo "*** making tar.bz2 file"
42 tar --recursion -cjf ../fpdb_$1.tar.bz2 *