File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,20 @@ Release.define( {
131
131
shell . mkdir ( "-p" , "dist/cdn" ) ;
132
132
shell . cp ( tmpFolder + "/jquery-ui*.js" , "dist/cdn" ) ;
133
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
+
134
148
fn ( files ) ;
135
149
} ) ;
136
150
}
You can’t perform that action at this time.
0 commit comments