From: Timmy Willison Date: Fri, 15 Nov 2013 14:19:44 +0000 (-0500) Subject: Release script: create tag after building CDN files X-Git-Tag: 1.11.0-beta2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c89ddaffff0e649e09f7360dfbcd12fce580d96a;p=jquery.git Release script: create tag after building CDN files --- diff --git a/build/release.js b/build/release.js index cef442c3b..8071c05dd 100644 --- a/build/release.js +++ b/build/release.js @@ -60,14 +60,14 @@ steps( checkGitStatus, setReleaseVersion, gruntBuild, - createTag, makeReleaseCopies, copyTojQueryCDN, buildGoogleCDN, buildMicrosoftCDN, + createTag, setNextVersion, pushToGithub, - publishToNpm, + // publishToNpm, exit ); @@ -305,7 +305,7 @@ function commitDistFiles( next ) { fs.writeFileSync( "package.json", JSON.stringify( pkgClone, null, "\t" ) ); fs.unlinkSync( ".gitignore" ); // Add files to be committed - git( [ "add", "package.json", "dist", sizzleLoc ], function() { + git( [ "add", "package.json", devFile, minFile, mapFile, sizzleLoc ], function() { // Remove unneeded files git( [ "rm", "-r", "build", @@ -322,7 +322,7 @@ function commitDistFiles( next ) { "Gruntfile.js", "README.md" ], function() { - git( [ "commit", "-a", "-m", releaseVersion ], next, debug ); + git( [ "commit", "-m", releaseVersion ], next, debug ); }, debug ); }, debug ); } @@ -378,6 +378,7 @@ function makeArchive( cdn, files, fn ) { /* NPM ---------------------------------------------------------------------- */ +/* function publishToNpm( next ) { // Only publish the master branch to NPM // You must be the jquery npm user for this not to fail @@ -400,7 +401,7 @@ function publishToNpm( next ) { }, debug || skipRemote ); }, debug ); }, debug); -} +}*/ /* Death ---------------------------------------------------------------------- */