Tweaks to npm-publish task
Ben Alpert committed
Nov 22, 2016 at 18:06 UTC
d8f166bd6613a3836c8b98a78c58e8ad66390ab0
1 file changed
+2
-1
scripts/release-manager/commands/npm-publish.js
+2
-1
@@ -16,7 +16,7 @@ const glob = require('glob');
16
module.exports = function(vorpal, app) {
17
vorpal
18
.command('npm-publish')
19
- .description('Update the version of React, useful while publishing')
19
+ .description('After you\'ve run grunt release, publishes the npm packages')
20
.action(function(args) {
21
return new Promise((resolve, reject) => {
22
const currentVersion = app.getReactVersion();
@@ -32,6 +32,7 @@ module.exports = function(vorpal, app) {
32
{
33
type: 'confirm',
34
message: 'Did you run `grunt build` or `grunt release` and bump the version number?',
35
+ default: false,
36
name: 'checklist',
37
},
38
]).then((answers) => {