aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/release.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/build/release.js b/build/release.js
index bb7b13103..f666bf116 100644
--- a/build/release.js
+++ b/build/release.js
@@ -3,13 +3,16 @@ var fs = require( "fs" );
module.exports = function( Release ) {
var
- files = [
+ distFiles = [
"dist/jquery.js",
"dist/jquery.min.js",
"dist/jquery.min.map",
"dist/jquery.slim.js",
"dist/jquery.slim.min.js",
- "dist/jquery.slim.min.map",
+ "dist/jquery.slim.min.map"
+ ],
+ filesToCommit = [
+ ...distFiles,
"src/core.js"
],
cdn = require( "./release/cdn" ),
@@ -46,7 +49,7 @@ module.exports = function( Release ) {
);
cdn.makeReleaseCopies( Release );
Release._setSrcVersion();
- callback( files );
+ callback( filesToCommit );
},
/**
@@ -67,7 +70,7 @@ module.exports = function( Release ) {
*/
dist: function( callback ) {
cdn.makeArchives( Release, function() {
- dist( Release, files, callback );
+ dist( Release, distFiles, callback );
} );
}
} );