Skip to content

Commit 666014e

Browse files
committed
Build: Remove generateQuickDownload step, will happen later during a release
1 parent fb40f1f commit 666014e

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

build/release/release.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ walk([
4343
section( "gathering contributors" ),
4444
gatherContributors,
4545

46-
section( "generating quick download" ),
47-
generateQuickDownload,
48-
4946
section( "updating trac" ),
5047
updateTrac,
5148
confirm
@@ -263,34 +260,6 @@ function gatherContributors() {
263260
echo( "Stored contributors in " + contributorsPath.cyan + "." );
264261
}
265262

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-
294263
function updateTrac() {
295264
echo( newVersion.cyan + " was tagged at " + tagTime.cyan + "." );
296265
echo( "Close the " + newVersion.cyan + " Milestone with the above date and time." );

0 commit comments

Comments
 (0)