5 # 2003-01-17, rabus@users.sourceforge.net:
6 # - Changed the CVS hostname to cvs1 because cvs1.sourceforge.net is now blocked
7 # for the SF shell servers, too. Note: The script now works on the SF shell
10 # 2002-11-22, rabus@users.sourceforge.net:
11 # - changed the CVS server dns to cvs1.sourceforge.net
12 # (cvs.phpmyadmin.sourceforge.net does not work at the SF shell anymore).
14 # 2002-10-03, rabus@users.sourceforge.net:
15 # - more detailed instructions
17 # 2002-09-08, robbat2@users.sourceforge.net:
18 # - Tweaked final instruction list
20 # 2002-06-17, lem9@users.sourceforge.net:
21 # - I option to tar for bzip2 is deprecated, use j
23 # 2002-27-04, loic@phpmyadmin.net:
24 # - added the cvs branch feature
26 # 2001-08-08, swix@users.sourceforge.net:
28 # - added release todo list
34 echo "Usage: create-release.sh version from_branch"
35 echo " (no spaces allowed!)"
37 echo "Example: create-release.sh 2.2.7-rc1 v2_2_7-branch"
53 Please ensure you have:
54 1. incremented rc count or version in CVS :
55 - in libraries/defines_php.lib.php3 the line
56 " define('PMA_VERSION', '$1'); "
57 - in Documentation.html the 2 lines
58 " <title>phpMyAdmin $1 - Documentation</title> "
59 " <h1>phpMyAdmin $1 Documentation</h1> "
61 2. built the new "Documentation.txt" version using:
62 lynx --dont_wrap_pre --nolist --dump Documentation.html > Documentation.txt
63 3. synchronized the language files:
66 and checked all language files are valid (use
67 the "./scripts/check_lang.php3" script to do it).
74 if [ $do_release != 'y' ]
87 cvs
-d:pserver
:anonymous@cvs1
:/cvsroot
/phpmyadmin login
88 cvs
-z3 -d:pserver
:anonymous@cvs1
:/cvsroot
/phpmyadmin co
-P $branch phpMyAdmin
90 date > phpMyAdmin
/RELEASE-DATE-
$1
91 mv phpMyAdmin phpMyAdmin-
$1
92 zip -9 -r phpMyAdmin-
$1-php3.
zip phpMyAdmin-
$1
93 tar cvzf phpMyAdmin-
$1-php3.
tar.gz phpMyAdmin-
$1
94 tar cvjf phpMyAdmin-
$1-php3.
tar.bz2 phpMyAdmin-
$1
96 .
/scripts
/extchg.sh php3 php
98 zip -9 -r phpMyAdmin-
$1-php.
zip phpMyAdmin-
$1
99 tar cvzf phpMyAdmin-
$1-php.
tar.gz phpMyAdmin-
$1
100 tar cvjf phpMyAdmin-
$1-php.
tar.bz2 phpMyAdmin-
$1
108 ls -la *.gz
*.
zip *.bz2
118 1. tag the cvs tree with the new revision number for a plain release or a
120 2. upload the files to SF:
121 ftp upload.sourceforge.net
124 mput cvs/*.gz *.zip *.bz2
125 3. add files to SF files page (cut and paste changelog since last release)
126 4. add SF news item to phpMyAdmin project
127 5. update the download page: /home/groups/p/ph/phpmyadmin/htdocs
128 6. announce release on freshmeat (http://freshmeat.net/projects/phpmyadmin/)
129 7. send a short mail (with list of major changes) to
130 phpmyadmin-devel@lists.sourceforge.net
131 phpmyadmin-news@lists.sourceforge.net
132 phpmyadmin-users@lists.sourceforge.net
133 8. increment rc count or version in CVS :
134 - in libraries/defines_php.lib.php3 the line
135 " define('PHPMYADMIN_VERSION', '2.2.2-rc1'); "
136 - in Documentation.html the 2 lines
137 " <title>phpMyAdmin 2.2.2-rc1 - Documentation</title> "
138 " <h1>phpMyAdmin 2.2.2-rc1 Documentation</h1> "
139 - in translators.html
144 # Removed due to not needed thanks to clever scripting by Robbat2
145 # 9. update the demo subdirectory:
146 # - in htdocs, cvs update phpMyAdmin
147 # - and don't forget to give write rights for the updated scripts to the