Skip to content

Commit

Permalink
Release script: create tag after building CDN files
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Nov 15, 2013
1 parent c2aca17 commit 9aacb89
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ steps(
checkGitStatus,
setReleaseVersion,
gruntBuild,
createTag,
makeReleaseCopies,
copyTojQueryCDN,
buildGoogleCDN,
buildMicrosoftCDN,
createTag,
setNextVersion,
pushToGithub,
publishToNpm,
// publishToNpm,
exit
);

Expand Down Expand Up @@ -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",
Expand All @@ -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 );
}
Expand Down Expand Up @@ -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
Expand All @@ -401,7 +402,7 @@ function publishToNpm( next ) {
}, debug || skipRemote );
}, debug );
}, debug);
}
}*/

/* Death
---------------------------------------------------------------------- */
Expand Down

0 comments on commit 9aacb89

Please sign in to comment.