Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2006-10-13 11:40:50 +0400
committerMichal Čihař <michal@cihar.com>2006-10-13 11:40:50 +0400
commit223951c886e73b296668d9dddc95c35e30beb060 (patch)
tree7df97895f6c32593e18ab9777dc7e93d23c42c00 /scripts
parente068252221538cc780287885404ff9d40bcf055f (diff)
Readd snapshot support.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-release.sh28
1 files changed, 9 insertions, 19 deletions
diff --git a/scripts/create-release.sh b/scripts/create-release.sh
index 95d054df5a..a14cf830c8 100755
--- a/scripts/create-release.sh
+++ b/scripts/create-release.sh
@@ -68,16 +68,14 @@
# - added release todo list
#
-cvsserver=${cvsserver:-phpmyadmin.cvs.sourceforge.net}
KITS="all-languages-utf-8-only all-languages english"
COMPRESSIONS="zip-7z tbz tgz 7z"
-# third param is the user; when creating a release we don't want
-# to suffer from the delay between anonymous cvs and developer cvs
-
if [ $# = 0 ]
then
- echo "Usage: create-release.sh version from_branch"
+ echo "Usages:"
+ echo " create-release.sh <version> [from_branch]"
+ echo " create-release.sh snapshot [sf]"
echo " (no spaces allowed!)"
echo ""
echo "Examples:"
@@ -123,23 +121,15 @@ END
fi
fi
-# FIXME: this was kept, but actually this is not used
-if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
-# Goto project dir
+if [ "$mode" = "snapshot" -a "$2" = "sf" ] ; then
+ # Goto project dir
cd /home/groups/p/ph/phpmyadmin/htdocs
-## Move old cvs dir
-#if [ -e cvs ];
-#then
-# mv cvs cvs-`date +%s`
-#fi
-
-# Keep one previous version of the cvs directory
- if [ -e cvs-prev ];
- then
- rm -rf cvs-prev
+ # Keep one previous version of the cvs directory
+ if [ -e svn-prev ] ; then
+ rm -rf svn-prev
fi
- mv cvs cvs-prev
+ mv svn svn-prev
fi
# Do SVNcheckout