We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54074fc commit e21a254Copy full SHA for e21a254
build/release.js
@@ -131,6 +131,20 @@ Release.define( {
131
shell.mkdir( "-p", "dist/cdn" );
132
shell.cp( tmpFolder + "/jquery-ui*.js", "dist/cdn" );
133
shell.cp( "-r", tmpFolder + "/themes", "dist/cdn" );
134
+
135
+ // Copy all the files to be published on the CDN to the dist directory
136
+ // as well.
137
+ shell.cp( "dist/cdn/jquery-ui.js", "dist" );
138
+ shell.cp( "dist/cdn/jquery-ui.min.js", "dist" );
139
+ shell.cp( "-r", "dist/cdn/themes", "dist" );
140
141
+ Release.exec( "git add --force dist/jquery-ui.js",
142
+ "Error adding dist/jquery-ui.js." );
143
+ Release.exec( "git add --force dist/jquery-ui.min.js",
144
+ "Error adding dist/jquery-ui.min.js." );
145
+ Release.exec( "git add --force dist/themes",
146
+ "Error adding dist/themes." );
147
148
fn( files );
149
} );
150
}
0 commit comments