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" ),
);
cdn.makeReleaseCopies( Release );
Release._setSrcVersion();
- callback( files );
+ callback( filesToCommit );
},
/**
*/
dist: function( callback ) {
cdn.makeArchives( Release, function() {
- dist( Release, files, callback );
+ dist( Release, distFiles, callback );
} );
}
} );