aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-01-10 19:13:54 +0100
committerFelix Nagel <info@felixnagel.com>2013-01-10 19:13:54 +0100
commitdcb28a7c71dc1f4a0ba89e60ae4b3ca8669b9617 (patch)
treed2d3621274dc1d55e2feff889e1dbf045cf4c3de /build
parentfb47fd03100aa36c344457c08410fdc43d7fd20d (diff)
parent83cbf979788f22ba3bd1668507623c0dd6b57041 (diff)
downloadjquery-ui-dcb28a7c71dc1f4a0ba89e60ae4b3ca8669b9617.tar.gz
jquery-ui-dcb28a7c71dc1f4a0ba89e60ae4b3ca8669b9617.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'build')
-rw-r--r--build/release/release.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/build/release/release.js b/build/release/release.js
index 60abf61ec..3470b6575 100644
--- a/build/release/release.js
+++ b/build/release/release.js
@@ -9,9 +9,6 @@
var baseDir, repoDir, prevVersion, newVersion, nextVersion, tagTime, preRelease,
fs = require( "fs" ),
- path = require( "path" ),
- // support: node <0.8
- existsSync = fs.existsSync || path.existsSync,
rnewline = /\r?\n/,
repo = "git@github.com:jquery/jquery-ui.git",
branch = "master";
@@ -50,8 +47,6 @@ walk([
section( "updating trac" ),
updateTrac,
confirm
-
- // TODO: upload release zip to GitHub
]);
@@ -376,7 +371,7 @@ function bootstrap( fn ) {
baseDir = process.cwd() + "/__release";
repoDir = baseDir + "/repo";
- if ( existsSync( baseDir ) ) {
+ if ( fs.existsSync( baseDir ) ) {
console.log( "The directory '" + baseDir + "' already exists." );
console.log( "Aborting." );
process.exit( 1 );