diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-11-15 09:19:44 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-11-15 09:32:46 -0500 |
commit | 9aacb89f363dcaacfffcfe794ecf54b2c49e5b19 (patch) | |
tree | 97971663b22c0144ac5912c7bed949826d322e2e /build | |
parent | c2aca17d457d302cb1683f925b9e5ee93f0984ea (diff) | |
download | jquery-9aacb89f363dcaacfffcfe794ecf54b2c49e5b19.tar.gz jquery-9aacb89f363dcaacfffcfe794ecf54b2c49e5b19.zip |
Release script: create tag after building CDN files
Diffstat (limited to 'build')
-rw-r--r-- | build/release.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build/release.js b/build/release.js index 5e4c12c2b..d4c4475d5 100644 --- a/build/release.js +++ b/build/release.js @@ -61,14 +61,14 @@ steps( checkGitStatus, setReleaseVersion, gruntBuild, - createTag, makeReleaseCopies, copyTojQueryCDN, buildGoogleCDN, buildMicrosoftCDN, + createTag, setNextVersion, pushToGithub, - publishToNpm, + // publishToNpm, exit ); @@ -306,7 +306,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", @@ -323,7 +323,7 @@ function commitDistFiles( next ) { "Gruntfile.js", "README.md" ], function() { - git( [ "commit", "-a", "-m", releaseVersion ], next, debug ); + git( [ "commit", "-m", releaseVersion ], next, debug ); }, debug ); }, debug ); } @@ -379,6 +379,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 @@ -401,7 +402,7 @@ function publishToNpm( next ) { }, debug || skipRemote ); }, debug ); }, debug); -} +}*/ /* Death ---------------------------------------------------------------------- */ |