aboutsummaryrefslogtreecommitdiffstats
path: root/build/release.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/release.js')
-rw-r--r--build/release.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/release.js b/build/release.js
index 529137da7..9f6b2e2a9 100644
--- a/build/release.js
+++ b/build/release.js
@@ -3,6 +3,7 @@ module.exports = function( Release ) {
var
fs = require( "fs" ),
shell = require( "shelljs" ),
+ ensureSizzle = require( "./ensure-sizzle" ),
devFile = "dist/jquery.js",
minFile = "dist/jquery.min.js",
@@ -117,6 +118,13 @@ module.exports = function( Release ) {
issueTracker: "trac",
contributorReportId: 508,
/**
+ * Ensure the repo is in a proper state before release
+ * @param {Function} callback
+ */
+ checkRepoState: function( callback ) {
+ ensureSizzle( Release, callback );
+ },
+ /**
* Generates any release artifacts that should be included in the release.
* The callback must be invoked with an array of files that should be
* committed before creating the tag.