Skip to content

Commit 952e719

Browse files
committed
Release: Fixed filenames for jQuery CDN
Fixes jquery-archivegh-6813
1 parent aad5335 commit 952e719

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Gruntfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,12 @@ module.exports = function( grunt ) {
499499
]
500500
},
501501
"jqueryCDN": {
502-
files: {
503-
// WARNING: This will be modified by the config:copy:noversion task
502+
files: [{
503+
expand: true,
504504
cwd: dist,
505505
src: "<%= files.cdn %>",
506-
dest: "<%= dirs.cdn.jquery %>"
507-
}
506+
dest: "<%= dirs.cdn.jquery %>/"
507+
}]
508508
},
509509
"googleCDN": {
510510
options: {
@@ -786,7 +786,7 @@ module.exports = function( grunt ) {
786786

787787
grunt.registerTask( "cdn", [
788788
"release:init",
789-
"clean:jqueryCDN", "config:copy:jqueryCDN", "copy:jqueryCDN",
789+
"clean:jqueryCDN", "copy:jqueryCDN",
790790
"clean:tmp",
791791
"config:copy:googleCDN", "copy:googleCDN", "hash-manifest:googleCDN", "compress:googleCDN",
792792
"clean:tmp"

0 commit comments

Comments
 (0)