Support for snapshots outside sourceforge.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-08-23 Michal Čihař <michal@cihar.com>
|
||||||
|
* scripts/create-release.sh: Support for snapshots outside sourceforge.
|
||||||
|
|
||||||
2004-08-22 Michal Čihař <michal@cihar.com>
|
2004-08-22 Michal Čihař <michal@cihar.com>
|
||||||
* sql.php: Don't unset $sql_limit_to_append, we need it later (bug
|
* sql.php: Don't unset $sql_limit_to_append, we need it later (bug
|
||||||
#978930, found by Marc).
|
#978930, found by Marc).
|
||||||
|
@@ -2,6 +2,11 @@
|
|||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
# 2003-08-23, nijel@users.sourceforge.net:
|
||||||
|
# - support for creating snapshots outside sourceforge:
|
||||||
|
# * cvs server name can be read from environment variable cvsserver
|
||||||
|
# * do not change to directories as used on sourceforge if $2 is local
|
||||||
|
#
|
||||||
# 2003-08-13, nijel@users.sourceforge.net:
|
# 2003-08-13, nijel@users.sourceforge.net:
|
||||||
# - config.default -> config.default.php
|
# - config.default -> config.default.php
|
||||||
#
|
#
|
||||||
@@ -55,7 +60,7 @@
|
|||||||
# - added release todo list
|
# - added release todo list
|
||||||
#
|
#
|
||||||
|
|
||||||
cvsserver=cvs1
|
cvsserver=${cvsserver:-cvs1}
|
||||||
|
|
||||||
if [ $# == 0 ]
|
if [ $# == 0 ]
|
||||||
then
|
then
|
||||||
@@ -66,11 +71,10 @@ then
|
|||||||
exit 65
|
exit 65
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $# == 1 ]
|
if [ "$1" == "snapshot" ]
|
||||||
then
|
then
|
||||||
branch=''
|
branch=''
|
||||||
fi
|
elif [ "$#" == 2 ]
|
||||||
if [ $# == 2 ]
|
|
||||||
then
|
then
|
||||||
branch="-r $2"
|
branch="-r $2"
|
||||||
fi
|
fi
|
||||||
@@ -120,6 +124,7 @@ END
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$mode" == "snapshot" -a "$2" != "local" ] ; then
|
||||||
# Goto project dir
|
# Goto project dir
|
||||||
cd /home/groups/p/ph/phpmyadmin/htdocs
|
cd /home/groups/p/ph/phpmyadmin/htdocs
|
||||||
|
|
||||||
@@ -135,6 +140,7 @@ then
|
|||||||
rm -rf cvs-prev
|
rm -rf cvs-prev
|
||||||
fi
|
fi
|
||||||
mv cvs cvs-prev
|
mv cvs cvs-prev
|
||||||
|
fi
|
||||||
|
|
||||||
# Do CVS checkout
|
# Do CVS checkout
|
||||||
mkdir cvs
|
mkdir cvs
|
||||||
@@ -255,9 +261,11 @@ END
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$mode" == "snapshot" -a "$2" != "local" ] ; then
|
||||||
cd ..
|
cd ..
|
||||||
find cvs -type d -print0 | xargs -0 chmod 775
|
find cvs -type d -print0 | xargs -0 chmod 775
|
||||||
find cvs -type f -print0 | xargs -0 chmod 664
|
find cvs -type f -print0 | xargs -0 chmod 664
|
||||||
|
fi
|
||||||
|
|
||||||
# Removed due to not needed thanks to clever scripting by Robbat2
|
# Removed due to not needed thanks to clever scripting by Robbat2
|
||||||
# 9. update the demo subdirectory:
|
# 9. update the demo subdirectory:
|
||||||
|
Reference in New Issue
Block a user