#!/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.2-rc1" exit fi cat <phpMyAdmin $1 Documentation " 2. built the new "Documentation.txt" version using the Lynx "print" command on the "Documentation.html" file. Continue (y/n)? END printf "\a" read do_release if [ $do_release != 'y' ] then exit fi (mv cvs cvs-`date +%s`) mkdir cvs cd cvs 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 tar cvIf phpMyAdmin-$1-php3.tar.bz2 phpMyAdmin-$1 cd phpMyAdmin-$1 ./scripts/extchg.sh php3 php cd .. zip -9 -r phpMyAdmin-$1-php.zip phpMyAdmin-$1 tar cvzf phpMyAdmin-$1-php.tar.gz phpMyAdmin-$1 tar cvIf phpMyAdmin-$1-php.tar.bz2 phpMyAdmin-$1 echo "" echo "" echo "" echo "Files:" echo "------" ls -la *.gz *.zip *.bz2 cd .. chmod -R 775 cvs cat <phpMyAdmin 2.2.2-rc1 Documentation " 10. the end :-) END