Repository: cordova-coho
Updated Branches:
  refs/heads/plugins-releaser db8089522 -> 14f84bac5


when manually selecting plugins to release, use the choices prompt for easier 
selection.


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/14f84bac
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/14f84bac
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/14f84bac

Branch: refs/heads/plugins-releaser
Commit: 14f84bac57122764a2cfd151980a9ee297448a12
Parents: db80895
Author: filmaj <[email protected]>
Authored: Wed Mar 1 16:32:01 2017 -0800
Committer: filmaj <[email protected]>
Committed: Wed Mar 1 16:32:01 2017 -0800

----------------------------------------------------------------------
 src/plugin-release.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/14f84bac/src/plugin-release.js
----------------------------------------------------------------------
diff --git a/src/plugin-release.js b/src/plugin-release.js
index 022eaee..fa5b355 100644
--- a/src/plugin-release.js
+++ b/src/plugin-release.js
@@ -296,11 +296,12 @@ function *interactive_plugins_release() {
                 return plugins_to_release;
             } else {
                 return inquirer.prompt({
-                    type: 'input',
+                    type: 'checkbox',
                     name: 'plugins_list',
-                    message: 'Please enter the exact names of the plugin 
repositories you want to release, manually, with a space separating each plugin 
name'
+                    message: 'Select the plugins you want to release:',
+                    choices: plugin_repos.map(function(p) { return p.repoName; 
}).filter(function(p) { return p != 'cordova-plugins'; })
                 }).then(function(answer) {
-                    return answer.plugins_list.split(' ');
+                    return answer.plugins_list;
                 });
             }
         }).then(function(plugins_list) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to