Skip to content

Commit 8671bcd

Browse files
authored
Merge branch 'jquery:main' into master
2 parents 843d128 + e21a254 commit 8671bcd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build/release.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,20 @@ Release.define( {
131131
shell.mkdir( "-p", "dist/cdn" );
132132
shell.cp( tmpFolder + "/jquery-ui*.js", "dist/cdn" );
133133
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+
134148
fn( files );
135149
} );
136150
}

0 commit comments

Comments
 (0)