From 9b7474038839fb2bb02cb28e63ca0f03c471ff65 Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 8 Jan 2013 20:20:03 -0500 Subject: Release: Remove support for node <0.8. --- build/release/release.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build') diff --git a/build/release/release.js b/build/release/release.js index 60abf61ec..8454d95bb 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"; @@ -376,7 +373,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 ); -- cgit v1.2.3 From e63cb47c88d8067b707fbc7711ccc25ba621e911 Mon Sep 17 00:00:00 2001 From: Scott González Date: Tue, 8 Jan 2013 20:38:09 -0500 Subject: Release: Remove TODO for uploading release zip to GitHub since downloads are discontinued. --- build/release/release.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'build') diff --git a/build/release/release.js b/build/release/release.js index 8454d95bb..3470b6575 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -47,8 +47,6 @@ walk([ section( "updating trac" ), updateTrac, confirm - - // TODO: upload release zip to GitHub ]); -- cgit v1.2.3