diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-25 14:49:14 -0400 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-25 14:49:14 -0400 |
commit | 666014e8e5272f75e37a1b2987542fe552b1a082 (patch) | |
tree | dae15c49bfbdc98abc4bc7787d480f1e86c66ab3 /build | |
parent | fb40f1f6baaf77864f2aed0422e30ac7bee5c7fd (diff) | |
download | jquery-ui-666014e8e5272f75e37a1b2987542fe552b1a082.tar.gz jquery-ui-666014e8e5272f75e37a1b2987542fe552b1a082.zip |
Build: Remove generateQuickDownload step, will happen later during a release
Diffstat (limited to 'build')
-rw-r--r-- | build/release/release.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/build/release/release.js b/build/release/release.js index 2227bf0e6..f00b50a4b 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -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." ); |