mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Release script: create tag after building CDN files
This commit is contained in:
parent
c2aca17d45
commit
9aacb89f36
@ -61,14 +61,14 @@ steps(
|
|||||||
checkGitStatus,
|
checkGitStatus,
|
||||||
setReleaseVersion,
|
setReleaseVersion,
|
||||||
gruntBuild,
|
gruntBuild,
|
||||||
createTag,
|
|
||||||
makeReleaseCopies,
|
makeReleaseCopies,
|
||||||
copyTojQueryCDN,
|
copyTojQueryCDN,
|
||||||
buildGoogleCDN,
|
buildGoogleCDN,
|
||||||
buildMicrosoftCDN,
|
buildMicrosoftCDN,
|
||||||
|
createTag,
|
||||||
setNextVersion,
|
setNextVersion,
|
||||||
pushToGithub,
|
pushToGithub,
|
||||||
publishToNpm,
|
// publishToNpm,
|
||||||
exit
|
exit
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -306,7 +306,7 @@ function commitDistFiles( next ) {
|
|||||||
fs.writeFileSync( "package.json", JSON.stringify( pkgClone, null, "\t" ) );
|
fs.writeFileSync( "package.json", JSON.stringify( pkgClone, null, "\t" ) );
|
||||||
fs.unlinkSync( ".gitignore" );
|
fs.unlinkSync( ".gitignore" );
|
||||||
// Add files to be committed
|
// Add files to be committed
|
||||||
git( [ "add", "package.json", "dist", sizzleLoc ], function() {
|
git( [ "add", "package.json", devFile, minFile, mapFile, sizzleLoc ], function() {
|
||||||
// Remove unneeded files
|
// Remove unneeded files
|
||||||
git( [ "rm", "-r",
|
git( [ "rm", "-r",
|
||||||
"build",
|
"build",
|
||||||
@ -323,7 +323,7 @@ function commitDistFiles( next ) {
|
|||||||
"Gruntfile.js",
|
"Gruntfile.js",
|
||||||
"README.md"
|
"README.md"
|
||||||
], function() {
|
], function() {
|
||||||
git( [ "commit", "-a", "-m", releaseVersion ], next, debug );
|
git( [ "commit", "-m", releaseVersion ], next, debug );
|
||||||
}, debug );
|
}, debug );
|
||||||
}, debug );
|
}, debug );
|
||||||
}
|
}
|
||||||
@ -379,6 +379,7 @@ function makeArchive( cdn, files, fn ) {
|
|||||||
|
|
||||||
/* NPM
|
/* NPM
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
|
/*
|
||||||
function publishToNpm( next ) {
|
function publishToNpm( next ) {
|
||||||
// Only publish the master branch to NPM
|
// Only publish the master branch to NPM
|
||||||
// You must be the jquery npm user for this not to fail
|
// You must be the jquery npm user for this not to fail
|
||||||
@ -401,7 +402,7 @@ function publishToNpm( next ) {
|
|||||||
}, debug || skipRemote );
|
}, debug || skipRemote );
|
||||||
}, debug );
|
}, debug );
|
||||||
}, debug);
|
}, debug);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/* Death
|
/* Death
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user