Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,20 @@ Release.define( {
shell.mkdir( "-p", "dist/cdn" );
shell.cp( tmpFolder + "/jquery-ui*.js", "dist/cdn" );
shell.cp( "-r", tmpFolder + "/themes", "dist/cdn" );

// Copy all the files to be published on the CDN to the dist directory
// as well.
shell.cp( "dist/cdn/jquery-ui.js", "dist" );
shell.cp( "dist/cdn/jquery-ui.min.js", "dist" );
shell.cp( "-r", "dist/cdn/themes", "dist" );

Release.exec( "git add --force dist/jquery-ui.js",
"Error adding dist/jquery-ui.js." );
Release.exec( "git add --force dist/jquery-ui.min.js",
"Error adding dist/jquery-ui.min.js." );
Release.exec( "git add --force dist/themes",
"Error adding dist/themes." );

fn( files );
} );
}
Expand Down