Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Build: Remove generateQuickDownload step, will happen later during a …

…release
  • Loading branch information...
commit 666014e8e5272f75e37a1b2987542fe552b1a082 1 parent fb40f1f
Jörn Zaefferer jzaefferer authored

Showing 1 changed file with 0 additions and 31 deletions. Show diff stats Hide diff stats

  1. +0 31 build/release/release.js
31 build/release/release.js
@@ -43,9 +43,6 @@ walk([
43 43 section( "gathering contributors" ),
44 44 gatherContributors,
45 45
46   - section( "generating quick download" ),
47   - generateQuickDownload,
48   -
49 46 section( "updating trac" ),
50 47 updateTrac,
51 48 confirm
@@ -263,34 +260,6 @@ function gatherContributors() {
263 260 echo( "Stored contributors in " + contributorsPath.cyan + "." );
264 261 }
265 262
266   -function generateQuickDownload() {
267   - var config,
268   - downloadDir = repoDir + "/node_modules/download.jqueryui.com",
269   - filename = "jquery-ui-" + newVersion + ".custom.zip",
270   - destination = baseDir + "/" + filename;
271   -
272   - cd( downloadDir );
273   -
274   - // Update jQuery UI version for download builder
275   - config = JSON.parse( cat( "config.json" ) );
276   - config.jqueryUi = newVersion;
277   - JSON.stringify( config ).to( "config.json" );
278   -
279   - // Generate quick download
280   - // TODO: Find a way to avoid having to clone jquery-ui inside download builder
281   - if ( exec( "grunt prepare build" ).code !== 0 ) {
282   - abort( "Error generating quick download." );
283   - }
284   - cp( downloadDir + "/release/" + filename, destination );
285   - // cp() doesn't have error handling, so check for the file
286   - if ( ls( destination ).length !== 1 ) {
287   - abort( "Error copying quick download." );
288   - }
289   -
290   - // Go back to repo directory for consistency
291   - cd( repoDir );
292   -}
293   -
294 263 function updateTrac() {
295 264 echo( newVersion.cyan + " was tagged at " + tagTime.cyan + "." );
296 265 echo( "Close the " + newVersion.cyan + " Milestone with the above date and time." );

0 comments on commit 666014e

Please sign in to comment.
Something went wrong with that request. Please try again.