aboutsummaryrefslogtreecommitdiffstats
path: root/BSF/tools/pwg_rel_create.sh
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-05-23 22:38:14 +0000
committervdigital <vdigital@piwigo.org>2008-05-23 22:38:14 +0000
commitc55dbbc995e152af3f2c88662101b0643d2e171a (patch)
tree3862effd5384b7c39295ed6690c9ccafd1677e54 /BSF/tools/pwg_rel_create.sh
parent77fd1f51a3c5f5a52f72ef8a299fe368228e2285 (diff)
Removed file/folder
git-svn-id: http://piwigo.org/svn/trunk@2358 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--BSF/tools/pwg_rel_create.sh61
1 files changed, 0 insertions, 61 deletions
diff --git a/BSF/tools/pwg_rel_create.sh b/BSF/tools/pwg_rel_create.sh
deleted file mode 100644
index a2a584a61..000000000
--- a/BSF/tools/pwg_rel_create.sh
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/bash
-
-# +--------------------------------------------------------------------------+
-# | pwg_rel_create.sh |
-# +--------------------------------------------------------------------------+
-# | author : Pierrick LE GALL <http://le-gall.net/pierrick> |
-# | project : Piwigo |
-# +--------------------------------------------------------------------------+
-
-if [ $# -lt 2 ]
-then
- echo
- echo 'usage : '$(basename $0)' <tag> <version number>'
- echo
- exit 1
-fi
-
-tag=$1
-version=$2
-
-name=phpwebgallery-$version
-
-cd /tmp
-if [ -e $name ]
-then
- rm -rf $name
-fi
-
-if [ -e $version ]
-then
- rm -rf $version
-fi
-mkdir $version
-
-# cvs export -r $tag -d $version phpwebgallery
-svn export http://svn.gna.org/svn/phpwebgallery/tags/$tag $name
-# creating mysql.inc.php empty and writeable
-touch $name/include/mysql.inc.php
-chmod a+w $name/include/mysql.inc.php
-
-# find $name -name "*.php" \
-# | xargs grep -l 'branch 1.7' \
-# | xargs perl -pi -e "s/branch 1.7/${version}/g"
-
-cd /tmp
-for ext in zip tar.gz tar.bz2
-do
- file=$version/$name.$ext
- if [ -f $file ]
- then
- rm $name
- fi
-done
-
-
-zip -r $version/$name.zip $name
-tar -czf $version/$name.tar.gz $name
-tar -cjf $version/$name.tar.bz2 $name
-
-cd /tmp/$version
-md5sum p* >MD5SUMS