improved so a CVS branch tag may be used
This commit is contained in:
@@ -2,18 +2,31 @@
|
|||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
# 2002-27-04, loic@phpmyadmin.net:
|
||||||
|
# - added the cvs branch feature
|
||||||
|
#
|
||||||
# 2001-08-08, swix@users.sourceforge.net:
|
# 2001-08-08, swix@users.sourceforge.net:
|
||||||
# - created script
|
# - created script
|
||||||
# - added release todo list
|
# - added release todo list
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ $# != 1 ]
|
|
||||||
|
if [ $# == 0 ]
|
||||||
then
|
then
|
||||||
echo "Usage: create-release.sh version"
|
echo "Usage: create-release.sh version from_branch"
|
||||||
echo " (no spaces allowed!)"
|
echo " (no spaces allowed!)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Example: create-release.sh 2.2.2-rc1"
|
echo "Example: create-release.sh 2.2.7-rc1 v2_2_7-branch"
|
||||||
exit
|
exit 65
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $# == 1 ]
|
||||||
|
then
|
||||||
|
branch=''
|
||||||
|
fi
|
||||||
|
if [ $# == 2 ]
|
||||||
|
then
|
||||||
|
branch="-r $2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@@ -44,7 +57,7 @@ mkdir cvs
|
|||||||
cd cvs
|
cd cvs
|
||||||
echo "Press [ENTER]!"
|
echo "Press [ENTER]!"
|
||||||
cvs -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin login
|
cvs -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin login
|
||||||
cvs -z3 -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin co phpMyAdmin
|
cvs -z3 -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmyadmin co $branch phpMyAdmin
|
||||||
|
|
||||||
date > phpMyAdmin/RELEASE-DATE-$1
|
date > phpMyAdmin/RELEASE-DATE-$1
|
||||||
mv phpMyAdmin phpMyAdmin-$1
|
mv phpMyAdmin phpMyAdmin-$1
|
||||||
|
Reference in New Issue
Block a user