]> source.dussan.org Git - jquery.git/commitdiff
Release script: create tag after building CDN files
authorTimmy Willison <timmywillisn@gmail.com>
Fri, 15 Nov 2013 14:19:44 +0000 (09:19 -0500)
committerTimmy Willison <timmywillisn@gmail.com>
Fri, 15 Nov 2013 14:32:46 +0000 (09:32 -0500)
build/release.js

index 5e4c12c2b2eefab095c3308f2a5f44b618dc156d..d4c4475d51a8b61011e349e8c926120f3d5835a8 100644 (file)
@@ -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
 ---------------------------------------------------------------------- */