Skip to content

Commit 9aacb89

Browse files
committed
Release script: create tag after building CDN files
1 parent c2aca17 commit 9aacb89

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

build/release.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ steps(
6161
checkGitStatus,
6262
setReleaseVersion,
6363
gruntBuild,
64-
createTag,
6564
makeReleaseCopies,
6665
copyTojQueryCDN,
6766
buildGoogleCDN,
6867
buildMicrosoftCDN,
68+
createTag,
6969
setNextVersion,
7070
pushToGithub,
71-
publishToNpm,
71+
// publishToNpm,
7272
exit
7373
);
7474

@@ -306,7 +306,7 @@ function commitDistFiles( next ) {
306306
fs.writeFileSync( "package.json", JSON.stringify( pkgClone, null, "\t" ) );
307307
fs.unlinkSync( ".gitignore" );
308308
// Add files to be committed
309-
git( [ "add", "package.json", "dist", sizzleLoc ], function() {
309+
git( [ "add", "package.json", devFile, minFile, mapFile, sizzleLoc ], function() {
310310
// Remove unneeded files
311311
git( [ "rm", "-r",
312312
"build",
@@ -323,7 +323,7 @@ function commitDistFiles( next ) {
323323
"Gruntfile.js",
324324
"README.md"
325325
], function() {
326-
git( [ "commit", "-a", "-m", releaseVersion ], next, debug );
326+
git( [ "commit", "-m", releaseVersion ], next, debug );
327327
}, debug );
328328
}, debug );
329329
}
@@ -379,6 +379,7 @@ function makeArchive( cdn, files, fn ) {
379379

380380
/* NPM
381381
---------------------------------------------------------------------- */
382+
/*
382383
function publishToNpm( next ) {
383384
// Only publish the master branch to NPM
384385
// You must be the jquery npm user for this not to fail
@@ -401,7 +402,7 @@ function publishToNpm( next ) {
401402
}, debug || skipRemote );
402403
}, debug );
403404
}, debug);
404-
}
405+
}*/
405406

406407
/* Death
407408
---------------------------------------------------------------------- */

0 commit comments

Comments
 (0)