diff --git a/ChangeLog b/ChangeLog index ed0452c36..354977511 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-08-08 Olivier Müller + * new script create-release.sh + * moved scripts to a new subdirectory "scripts/" + 2001-08-08 Loïc Chapeaux * tbl_replace.php3: fixed some coding style inconcistencies and optimized a bit both the '$set$' switch cases. diff --git a/scripts/create-release.sh b/scripts/create-release.sh new file mode 100755 index 000000000..cc6e0e88e --- /dev/null +++ b/scripts/create-release.sh @@ -0,0 +1,67 @@ +#!/bin/sh +# +# $Id$ +# +# 2001-08-08, swix@users.sourceforge.net: +# - created script +# - added release todo list +# + +if [ $# != 1 ] +then + echo "Usage: create-release.sh version" + echo " (no spaces allowed!)" + echo "" + echo "Example: create-release.sh 2.2.0-rc5" + exit +fi + +(mv tmp tmp-`date +%s`) +mkdir tmp +cd tmp +echo "Press [ENTER]!" +cvs -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin login +cvs -z3 -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin co phpMyAdmin + +date > phpMyAdmin/RELEASE-DATE-$1 +mv phpMyAdmin phpMyAdmin-$1 +zip -9 -r phpMyAdmin-$1-php3.zip phpMyAdmin-$1 +tar cvzf phpMyAdmin-$1-php3.tar.gz phpMyAdmin-$1 +cd phpMyAdmin-$1 +./extchg.sh php3 php +cd .. +zip -9 -r phpMyAdmin-$1-php.zip phpMyAdmin-$1 +tar cvzf phpMyAdmin-$1-php.tar.gz phpMyAdmin-$1 + +echo "" +echo "" +echo "" +echo "Files:" +echo "------" + +ls -la *.gz *.zip +cd .. + +cat <