aboutsummaryrefslogtreecommitdiffstats
path: root/build/release.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/release.js')
-rw-r--r--build/release.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/release.js b/build/release.js
index 72d6ab5a3..22cd90c86 100644
--- a/build/release.js
+++ b/build/release.js
@@ -21,6 +21,7 @@ module.exports = function( Release ) {
Release.define( {
npmPublish: true,
issueTracker: "github",
+
/**
* Ensure the repo is in a proper state before release
* @param {Function} callback
@@ -28,6 +29,7 @@ module.exports = function( Release ) {
checkRepoState: function( callback ) {
ensureSizzle( Release, callback );
},
+
/**
* Set the version in the src folder for distributing AMD
*/
@@ -37,6 +39,7 @@ module.exports = function( Release ) {
contents = contents.replace( /@VERSION/g, Release.newVersion );
fs.writeFileSync( corePath, contents, "utf8" );
},
+
/**
* Generates any release artifacts that should be included in the release.
* The callback must be invoked with an array of files that should be
@@ -54,6 +57,7 @@ module.exports = function( Release ) {
Release._setSrcVersion();
callback( files );
},
+
/**
* Acts as insertion point for restoring Release.dir.repo
* It was changed to reuse npm publish code in jquery-release
@@ -65,6 +69,7 @@ module.exports = function( Release ) {
Release.dir.repo = Release.dir.origRepo || Release.dir.repo;
return npmTags();
},
+
/**
* Publish to distribution repo and npm
* @param {Function} callback