aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2014-12-16 23:04:22 -0500
committerDave Methvin <dave.methvin@gmail.com>2014-12-16 23:04:22 -0500
commit37da93128035ce4a7b9daa1ec3b725632bcf7196 (patch)
tree22b033f1c8c734e02fff632931d711c548aab6a2
parentf207a037c5ef5b3a5a151e6b5c72315f9daf5c4b (diff)
downloadjquery-37da93128035ce4a7b9daa1ec3b725632bcf7196.tar.gz
jquery-37da93128035ce4a7b9daa1ec3b725632bcf7196.zip
Revert "Release: ensure Sizzle is the latest tag"
This reverts commit 1d931068d30b6a516b883cf7f420606de21eab68. Conflicts: build/release.js
-rw-r--r--build/ensure-sizzle.js40
-rw-r--r--build/release.js8
-rw-r--r--package.json1
3 files changed, 0 insertions, 49 deletions
diff --git a/build/ensure-sizzle.js b/build/ensure-sizzle.js
deleted file mode 100644
index 01a128efb..000000000
--- a/build/ensure-sizzle.js
+++ /dev/null
@@ -1,40 +0,0 @@
-var fs = require( "fs" ),
- bower = require( "grunt-bowercopy/node_modules/bower" ),
- sizzleLoc = __dirname + "/../src/sizzle/dist/sizzle.js",
- rversion = /Engine v(\d+\.\d+\.\d+(?:-\w+)?)/;
-
-/**
- * Retrieve the latest tag of Sizzle from bower
- * @param {Function(string)} callback
- */
-function getLatestSizzle( callback ) {
- bower.commands.info( "sizzle", "version" )
- .on( "end", callback );
-}
-
-/**
- * Ensure the /src folder has the latest tag of Sizzle
- * @param {Object} Release
- * @param {Function} callback
- */
-function ensureSizzle( Release, callback ) {
- console.log();
- console.log( "Checking Sizzle version..." );
- getLatestSizzle(function( latest ) {
- var match = rversion.exec( fs.readFileSync( sizzleLoc, "utf8" ) ),
- version = match ? match[ 1 ] : "Not Found";
-
- if ( version !== latest ) {
- console.log(
- "The Sizzle version in the src folder (" + version.red +
- ") is not the latest tag (" + latest.green + ")."
- );
- Release.confirm( callback );
- } else {
- console.log( "Sizzle is latest (" + latest.green + ")" );
- callback();
- }
- });
-}
-
-module.exports = ensureSizzle;
diff --git a/build/release.js b/build/release.js
index c1c2f0bcd..529137da7 100644
--- a/build/release.js
+++ b/build/release.js
@@ -3,7 +3,6 @@ module.exports = function( Release ) {
var
fs = require( "fs" ),
shell = require( "shelljs" ),
- ensureSizzle = require( "./ensure-sizzle" ),
devFile = "dist/jquery.js",
minFile = "dist/jquery.min.js",
@@ -118,13 +117,6 @@ 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.
diff --git a/package.json b/package.json
index ebf559f60..d9953d485 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,6 @@
],
"dependencies": {},
"devDependencies": {
- "colors": "^0.6.2",
"commitplease": "1.7.0",
"grunt": "0.4.2",
"grunt-bowercopy": "0.7.1",