Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 1c59c52

Browse files
committed
Build: Update release script
1 parent da23feb commit 1c59c52

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

build/tasks/alias.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module.exports = function( grunt ) {
22

3+
var pkg = require( "../../package.json" );
4+
35
// Ci is a magic task that changes based on options we do this to optimize travis build
46
grunt.registerTask( "ci", [ "ci:" + ( grunt.option( "citype" ) || process.env.CITYPE ) ] );
57
grunt.registerTask( "ci:demos", [ "test:demos" ] );

build/tasks/options/copy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ return {
316316
files: [ {
317317
expand: true,
318318
cwd: "<%= dist %>",
319-
src: "<%= files.cdn %>",
319+
src: files.cdn,
320320
dest: "<%= dirs.cdn.jquery %>/"
321321
} ]
322322
},
@@ -339,7 +339,7 @@ return {
339339

340340
// WARNING: This will be modified by the config:copy:noversion task
341341
cwd: "<%= dist %>",
342-
src: "<%= files.cdn %>",
342+
src: files,
343343
dest: "<%= dirs.tmp %>"
344344
}
345345
},
@@ -360,7 +360,7 @@ return {
360360

361361
// WARNING: This will be modified by the config:copy:git task
362362
cwd: "<%= dist %>",
363-
src: "<%= files.cdn %>",
363+
src: files,
364364
dest: "<%= dirs.cdn.git %>"
365365
}
366366
}

0 commit comments

Comments
 (0)