Changeset 4669


Ignore:
Timestamp:
01/12/10 14:17:50 (10 years ago)
Author:
plg
Message:

merge r4668 from branch 2.0 to trunk

feature 1375: remove version in Piwigo archive root directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/pwg_rel_create.sh

    r4280 r4669  
    2222 
    2323cd /tmp 
    24 if [ -e $name ] 
    25 then 
    26   rm -rf $name 
    27 fi 
    2824 
    2925if [ -e $version ] 
     
    3228fi 
    3329mkdir $version 
     30cd $version 
    3431 
    35 # cvs export -r $tag -d $version phpwebgallery 
    36 svn export http://piwigo.org/svn/tags/$tag $name 
     32svn export http://piwigo.org/svn/tags/$tag piwigo 
     33 
    3734# creating config_database.inc.php empty and writeable 
    38 touch $name/include/config_database.inc.php 
    39 chmod a+w $name/include/config_database.inc.php 
     35touch piwigo/include/config_database.inc.php 
     36chmod a+w piwigo/include/config_database.inc.php 
    4037 
    41 # find $name -name "*.php" \ 
    42 #   | xargs grep -l 'branch 1.7' \ 
    43 #   | xargs perl -pi -e "s/branch 1.7/${version}/g" 
     38zip -r $name.zip piwigo 
    4439 
    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 
     40echo cd /tmp/$version 
Note: See TracChangeset for help on using the changeset viewer.