You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/11/07 01:16:01 UTC

[cordova-coho] branch master updated: updated plugins release process

This is an automated email from the ASF dual-hosted git repository.

steven pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-coho.git


The following commit(s) were added to refs/heads/master by this push:
     new f3b4dc2  updated plugins release process
f3b4dc2 is described below

commit f3b4dc29dd32a161ef50c2836801f2b670f32974
Author: Steve Gill <st...@gmail.com>
AuthorDate: Mon Nov 6 17:15:50 2017 -0800

    updated plugins release process
---
 docs/plugins-release-process.md | 20 ++++++++++++++++++++
 package.json                    |  7 ++++---
 src/plugin-release.js           |  2 +-
 src/repoutil.js                 |  6 ++++--
 4 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md
index 7935252..52f2c28 100644
--- a/docs/plugins-release-process.md
+++ b/docs/plugins-release-process.md
@@ -38,6 +38,26 @@ TODO: Add step about releasing cordova-plugins
 
 TODO: Should not mention testing other than checking medic
 
+# Interactive Plugins Release
+
+Though we are still working out some kinks, it is recommend to try the new coho interactive plugins release command which will handle many of the manual steps listed below.
+
+`coho prepare-plugins-release`
+
+This will do the following:
+
+* Create JIRA issue
+* Update repos
+* Let you select which repos to release
+* Let you modify release notes and finalize version to release
+* Branch, tag and push up to master
+* Increment version on master with `-dev`
+* Create svn dist archives for you to share with the cordova list for voting purposes.
+
+# Manual
+
+Try to the interactive plugins release process. If you struggle with, use the manual process which is documented below. 
+
 ## Get Buy-in
 
  1. Email the dev mailing-list and see if anyone has reason to postpone the release.
diff --git a/package.json b/package.json
index 5d5608f..35f6886 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,7 @@
     "gnode": "^0.1.0",
     "inquirer": "2.0.0",
     "jasmine": "^2.5.3",
+    "jasmine-co": "^1.2.2",
     "jira-client": "4.2.0",
     "jira-linkify": "^2.3.0",
     "nlf": "^1.4.3",
@@ -42,9 +43,9 @@
   },
   "scripts": {
     "oldtest": "node test/test.js | tap-spec",
-    "test": "npm run eslint",
+    "test": "npm run eslint && npm run jasmine",
     "cover": "istanbul cover --root src --print detail jasmine",
-    "jasmine": "jasmine --captureExceptions --color",
+    "jasmine": "jasmine",
     "eslint": "eslint test && eslint src"
   },
   "repository": {
@@ -60,4 +61,4 @@
     "Brian LeRoux"
   ],
   "license": "Apache-2.0"
-}
\ No newline at end of file
+}
diff --git a/src/plugin-release.js b/src/plugin-release.js
index 355ce31..7f2f307 100644
--- a/src/plugin-release.js
+++ b/src/plugin-release.js
@@ -313,7 +313,7 @@ function * interactive_plugins_release () {
                 plugin_base = path.resolve(path.normalize(answers.cwd));
                 shelljs.mkdir('-p', plugin_base);
                 process.chdir(plugin_base);
-                plugin_repos = flagutil.computeReposFromFlag('plugins', {includeSvn: true});
+                plugin_repos = flagutil.computeReposFromFlag('active-plugins', {includeSvn: true});
                 dist_svn = flagutil.computeReposFromFlag('dist', {includeSvn: true});
                 dist_dev_svn = flagutil.computeReposFromFlag('dist/dev', {includeSvn: true});
                 svn_repos = dist_svn.concat(dist_dev_svn);
diff --git a/src/repoutil.js b/src/repoutil.js
index 2e118ac..6394768 100644
--- a/src/repoutil.js
+++ b/src/repoutil.js
@@ -176,7 +176,8 @@ var pluginRepos = [
         title: 'Plugin - Console',
         id: 'plugin-console',
         repoName: 'cordova-plugin-console',
-        jiraComponentName: 'cordova-plugin-console'
+        jiraComponentName: 'cordova-plugin-console',
+        inactive: true
     }, {
         title: 'Plugin - Contacts',
         id: 'plugin-contacts',
@@ -186,7 +187,8 @@ var pluginRepos = [
         title: 'Plugin - Compat',
         id: 'plugin-compat',
         repoName: 'cordova-plugin-compat',
-        jiraComponentName: 'cordova-plugin-compat'
+        jiraComponentName: 'cordova-plugin-compat',
+        inactive: true
     }, {
         title: 'Plugin - Device Motion',
         id: 'plugin-device-motion',

-- 
To stop receiving notification emails like this one, please contact
['"commits@cordova.apache.org" <co...@cordova.apache.org>'].

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org