Changeset 4668


Ignore:
Timestamp:
Jan 12, 2010, 2:04:16 PM (11 years ago)
Author:
plg
Message:

feature 1375: remove version in Piwigo archive root directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/tools/pwg_rel_create.sh

    r3658 r4668  
    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 mysql.inc.php empty and writeable
    38 touch $name/include/mysql.inc.php
    39 chmod a+w $name/include/mysql.inc.php
     35touch piwigo/include/mysql.inc.php
     36chmod a+w piwigo/include/mysql.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.