Changeset 1431


Ignore:
Timestamp:
03/18/18 08:52:26 (7 months ago)
Author:
gogo
Message:

Final update to release packaging I think, time to go.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contrib/make-release.sh

    r1429 r1431  
    3030 
    3131# Export 
    32 if [ -f /tmp/xinha-$VER ] 
     32if [ -d /tmp/xinha-$VER ] 
    3333then 
    3434  echo "/tmp/xinha-$VER exists, you need to delete it first." 
     
    6060# Create the main distribution zip and bz2 
    6161zip -r xinha-$VER.zip        xinha 
    62 tar -cjvf xinha-$VER.tar.bz2 xinha 
     62#tar -cjvf xinha-$VER.tar.bz2 xinha 
    6363 
    6464# Make a stripped down plugins set for the plugins which must be run locally 
     
    105105EOF 
    106106echo "xinha-$VER" >xinha-cdn/VERSION.TXT 
    107 zip -r    xinha-cdn.zip     xinha-cdn 
    108 tar -cjvf xinha-cdn.tar.bz2 xinha-cdn 
     107zip -r    xinha-$VER-cdn.zip     xinha-cdn 
     108#tar -cjvf xinha-cdn.tar.bz2 xinha-cdn 
    109109 
    110110# Update the s3 bucket 
     
    129129sleep 5 
    130130cd ../ 
    131 zip -r    xinha-compressed-$VER.zip     xinha 
    132 tar -cjvf xinha-compressed-$VER.tar.bz2 xinha 
     131zip -r    xinha-$VER-minified.zip     xinha 
     132# tar -cjvf xinha-$VER-minified.tar.bz2 xinha 
    133133 
     134ls -l *.zip 
     135read -p "Upload zip files to to \"s3://xinha/releases/\"? [yN]: " 
     136if [ "$REPLY" == "y" ] || [ "$REPLY" == "Y" ] 
     137then 
     138  for file in *.zip 
     139  do 
     140    s3cmd --acl-public put $file s3://xinha/releases/ 
     141  done 
     142fi 
Note: See TracChangeset for help on using the changeset viewer.