|
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 commit comments