]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Remove generateQuickDownload step, will happen later during a release
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 25 Oct 2012 18:49:14 +0000 (14:49 -0400)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 25 Oct 2012 18:49:14 +0000 (14:49 -0400)
build/release/release.js

index 2227bf0e6d58984f9ad901a5aa54b5c966a94145..f00b50a4b850b7532cbfa75e098eb8656b4ad78e 100644 (file)
@@ -43,9 +43,6 @@ walk([
        section( "gathering contributors" ),
        gatherContributors,
 
-       section( "generating quick download" ),
-       generateQuickDownload,
-
        section( "updating trac" ),
        updateTrac,
        confirm
@@ -263,34 +260,6 @@ function gatherContributors() {
        echo( "Stored contributors in " + contributorsPath.cyan + "." );
 }
 
-function generateQuickDownload() {
-       var config,
-               downloadDir = repoDir + "/node_modules/download.jqueryui.com",
-               filename = "jquery-ui-" + newVersion + ".custom.zip",
-               destination = baseDir + "/" + filename;
-
-       cd( downloadDir );
-
-       // Update jQuery UI version for download builder
-       config = JSON.parse( cat( "config.json" ) );
-       config.jqueryUi = newVersion;
-       JSON.stringify( config ).to( "config.json" );
-
-       // Generate quick download
-       // TODO: Find a way to avoid having to clone jquery-ui inside download builder
-       if ( exec( "grunt prepare build" ).code !== 0 ) {
-               abort( "Error generating quick download." );
-       }
-       cp( downloadDir + "/release/" + filename, destination );
-       // cp() doesn't have error handling, so check for the file
-       if ( ls( destination ).length !== 1 ) {
-               abort( "Error copying quick download." );
-       }
-
-       // Go back to repo directory for consistency
-       cd( repoDir );
-}
-
 function updateTrac() {
        echo( newVersion.cyan + " was tagged at " + tagTime.cyan + "." );
        echo( "Close the " + newVersion.cyan + " Milestone with the above date and time." );