Changeset 1425


Ignore:
Timestamp:
03/17/18 10:56:13 (5 weeks ago)
Author:
gogo
Message:

More improvement to release process.

File:
1 edited

Legend:

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

    r1424 r1425  
    7676mv xinha-cdn/examples/index.html.2  xinha-cdn/examples/index.html 
    7777 
     78# Replace the XinhaEasy.js link to the "CDN" link  
     79for file in xinha-cdn/examples/* 
     80do 
     81  replace "../XinhaEasy.js" "//s3-us-west-1.amazonaws.com/xinha/xinha-${VER}/XinhaEasy.js" -- $file 
     82done 
     83 
    7884cat >xinha-cdn/README.TXT <<'EOF' 
    7985Xinha CDN Local Distribution 
     
    95101tar -cjvf xinha-cdn.tar.bz2 xinha-cdn 
    96102 
     103# Update the s3 bucket 
     104read -p "Upload to \"s3://xinha/xinha-${VER}/\"? [yN]: " 
     105if [ "$REPLY" == "y" ] || [ "$REPLY" == "Y" ] 
     106then 
     107  cd xinha  
     108  s3cmd --delete-removed sync ./ s3://xinha/xinha-${VER}/ 
     109  cd .. 
     110fi 
     111 
     112read -p "Upload to \"s3://xinha/xinha-latest/\"? [yN]: " 
     113if [ "$REPLY" == "y" ] || [ "$REPLY" == "Y" ] 
     114then 
     115  cd xinha  
     116  s3cmd --delete-removed sync ./ s3://xinha/xinha-latest/ 
     117  cd .. 
     118fi 
     119 
    97120cd xinha 
    98121php contrib/compress_yui.php 
     
    101124zip -r    xinha-compressed-$VER.zip     xinha 
    102125tar -cjvf xinha-compressed-$VER.tar.bz2 xinha 
     126 
Note: See TracChangeset for help on using the changeset viewer.