diff --git a/ChangeLog b/ChangeLog index 5f9b52d37..2a818facb 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2003-10-10 Michal Cihar * libraries/export/sql.php3: Fix PMA_getTableContentOld (bug #820932). * left.php3: Konqueror 3 and Opera 7 works with tree view (bug #820717). + * scripts/create-release.sh: Generate MD5 sums (RFE #748415). 2003-10-07 Marc Delisle * lang/russian*: updated, thanks to Artyom Rabzonov diff --git a/scripts/create-release.sh b/scripts/create-release.sh index ec471cf2f..7fad2d2f9 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -2,6 +2,9 @@ # # $Id$ # +# 2003-10-10, nijel@users.sourceforge.net: +# - cvsserver set on just one place to ease testing +# - echoes md5 sums to include on download page # 2003-06-22, robbat2@users.sourceforge.net: # - Moved to using updatedocs.sh for updating documentation # - Make tarring faster by re-arranging ops @@ -32,6 +35,7 @@ # - added release todo list # +cvsserver=cvs.sourceforge.net if [ $# == 0 ] then @@ -89,12 +93,12 @@ fi mkdir cvs cd cvs echo "Press [ENTER]!" -cvs -d:pserver:anonymous@cvs1:/cvsroot/phpmyadmin login +cvs -d:pserver:anonymous@$cvsserver:/cvsroot/phpmyadmin login if [ $? -ne 0 ] ; then echo "CVS login failed, bailing out" exit 1 fi -cvs -z3 -d:pserver:anonymous@cvs1:/cvsroot/phpmyadmin co -P $branch phpMyAdmin +cvs -z3 -d:pserver:anonymous@$cvsserver:/cvsroot/phpmyadmin co -P $branch phpMyAdmin if [ $? -ne 0 ] ; then echo "CVS checkout failed, bailing out" exit 2 @@ -131,6 +135,16 @@ echo "Files:" echo "------" ls -la *.gz *.zip *.bz2 + +echo +echo "MD5 sums:" +echo "--------" + +md5sum *.gz *.zip *.bz2 | sed "s/\([^ ]*\)[ ]*\([^ ]*\)/\$md5sum['\2'] = '\1';/" + +echo +echo "Add these to /home/groups/p/ph/phpmyadmin/htdocs/home_page/md5.inc.php on sf" + cd .. find cvs -type d -print0 | xargs -0 chmod 775 find cvs -type f -print0 | xargs -0 chmod 664 @@ -163,7 +177,8 @@ Todo now: " phpMyAdmin 2.2.2-rc1 - Documentation " "

phpMyAdmin 2.2.2-rc1 Documentation

" - in translators.html - 9. the end :-) + 9. Add MD5s to /home/groups/p/ph/phpmyadmin/htdocs/home_page/md5.inc.php +10. the end :-) END