Changeset 4669 for trunk/tools
- Timestamp:
- Jan 12, 2010, 2:17:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/pwg_rel_create.sh
r4280 r4669 22 22 23 23 cd /tmp 24 if [ -e $name ]25 then26 rm -rf $name27 fi28 24 29 25 if [ -e $version ] … … 32 28 fi 33 29 mkdir $version 30 cd $version 34 31 35 # cvs export -r $tag -d $version phpwebgallery 36 svn export http://piwigo.org/svn/tags/$tag $name 32 svn export http://piwigo.org/svn/tags/$tag piwigo 33 37 34 # creating config_database.inc.php empty and writeable 38 touch $name/include/config_database.inc.php39 chmod a+w $name/include/config_database.inc.php35 touch piwigo/include/config_database.inc.php 36 chmod a+w piwigo/include/config_database.inc.php 40 37 41 # find $name -name "*.php" \ 42 # | xargs grep -l 'branch 1.7' \ 43 # | xargs perl -pi -e "s/branch 1.7/${version}/g" 38 zip -r $name.zip piwigo 44 39 45 cd /tmp 46 for ext in zip # tar.gz tar.bz2 47 do 48 file=$version/$name.$ext 49 if [ -f $file ] 50 then 51 rm $name 52 fi 53 done 54 55 56 zip -r $version/$name.zip $name 57 # tar -czf $version/$name.tar.gz $name 58 # tar -cjf $version/$name.tar.bz2 $name 59 60 cd /tmp/$version 61 # md5sum p* >MD5SUMS 40 echo cd /tmp/$version
Note: See TracChangeset
for help on using the changeset viewer.