Support for snapshots outside sourceforge.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$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>
|
||||
* sql.php: Don't unset $sql_limit_to_append, we need it later (bug
|
||||
#978930, found by Marc).
|
||||
|
@@ -2,6 +2,11 @@
|
||||
#
|
||||
# $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:
|
||||
# - config.default -> config.default.php
|
||||
#
|
||||
@@ -55,7 +60,7 @@
|
||||
# - added release todo list
|
||||
#
|
||||
|
||||
cvsserver=cvs1
|
||||
cvsserver=${cvsserver:-cvs1}
|
||||
|
||||
if [ $# == 0 ]
|
||||
then
|
||||
@@ -66,11 +71,10 @@ then
|
||||
exit 65
|
||||
fi
|
||||
|
||||
if [ $# == 1 ]
|
||||
if [ "$1" == "snapshot" ]
|
||||
then
|
||||
branch=''
|
||||
fi
|
||||
if [ $# == 2 ]
|
||||
elif [ "$#" == 2 ]
|
||||
then
|
||||
branch="-r $2"
|
||||
fi
|
||||
@@ -120,6 +124,7 @@ END
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$mode" == "snapshot" -a "$2" != "local" ] ; then
|
||||
# Goto project dir
|
||||
cd /home/groups/p/ph/phpmyadmin/htdocs
|
||||
|
||||
@@ -135,6 +140,7 @@ then
|
||||
rm -rf cvs-prev
|
||||
fi
|
||||
mv cvs cvs-prev
|
||||
fi
|
||||
|
||||
# Do CVS checkout
|
||||
mkdir cvs
|
||||
@@ -255,9 +261,11 @@ END
|
||||
|
||||
fi
|
||||
|
||||
if [ "$mode" == "snapshot" -a "$2" != "local" ] ; then
|
||||
cd ..
|
||||
find cvs -type d -print0 | xargs -0 chmod 775
|
||||
find cvs -type f -print0 | xargs -0 chmod 664
|
||||
fi
|
||||
|
||||
# Removed due to not needed thanks to clever scripting by Robbat2
|
||||
# 9. update the demo subdirectory:
|
||||
|
Reference in New Issue
Block a user