2 module.exports = function( Release ) {
5 files = [ "dist/jquery.js", "dist/jquery.min.js", "dist/jquery.min.map" ],
6 cdn = require( "./release/cdn" ),
7 dist = require( "./release/dist" ),
8 ensureSizzle = require( "./release/ensure-sizzle" ),
10 npmTags = Release.npmTags;
14 issueTracker: "github",
16 * Ensure the repo is in a proper state before release
17 * @param {Function} callback
19 checkRepoState: function( callback ) {
20 ensureSizzle( Release, callback );
23 * Generates any release artifacts that should be included in the release.
24 * The callback must be invoked with an array of files that should be
25 * committed before creating the tag.
26 * @param {Function} callback
28 generateArtifacts: function( callback ) {
29 Release.exec( "grunt", "Grunt command failed" );
30 cdn.makeReleaseCopies( Release );
34 * Acts as insertion point for restoring Release.dir.repo
35 * It was changed to reuse npm publish code in jquery-release
36 * for publishing the distribution repo instead
40 // origRepo is not defined if dist was skipped
41 Release.dir.repo = Release.dir.origRepo || Release.dir.repo;
45 * Publish to distribution repo and npm
46 * @param {Function} callback
48 dist: function( callback ) {
49 cdn.makeArchives( Release, function() {
50 dist( Release, callback );
56 module.exports.dependencies = [