File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments