change dist output a bit v1.0.0
authorJacob Thornton <jacobthornton@gmail.com>
Mon, 5 Nov 2012 06:36:03 +0000 (22:36 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Mon, 5 Nov 2012 06:36:03 +0000 (22:36 -0800)
Makefile
docs/index.html

index 4aeb1b1..5f2b8d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,11 @@ gh-pages: build
        cp -r docs/ gh-pages/
        cp -r lib gh-pages/lib
        cp -r dist gh-pages/dist
-       zip -r gh-pages/dist.zip gh-pages/dist
+       cd gh-pages
+       cp -r dist ratchet
+       zip -r ratchet.zip ratchet
+       rm -rf ratchet
+       cd ..
        git fetch origin
        git checkout gh-pages
        sed -i -e 's/\.\.\//\.\//g' gh-pages/index.html
index e70d825..6bd0911 100644 (file)
@@ -74,7 +74,7 @@
       <div class="docs-inner-wrapper">
         <hgroup class="docs-header-text">
           <h2 class="docs-header-subtitle">Prototype iPhone apps with simple HTML, CSS and JS components.</h2>
-          <a data-ignore="push" href="http://maker.github.com/ratchet/dist.zip" class="docs-btn" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V1.0']);">Download Ratchet</a>
+          <a data-ignore="push" href="http://maker.github.com/ratchet/ratchet.zip" class="docs-btn" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V1.0']);">Download Ratchet</a>
         </hgroup>
       </div>
       <section class="social">