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 2016/06/14 21:22:06 UTC

cordova-coho git commit: CB-11329 added linkify module

Repository: cordova-coho
Updated Branches:
  refs/heads/master 866155129 -> 81de29262


CB-11329 added linkify module

 This closes #126


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

Branch: refs/heads/master
Commit: 81de29262e5c1d360e3a6b1da42bbbf19cf6c8dd
Parents: 8661551
Author: carynbear <ca...@berkeley.edu>
Authored: Tue Jun 14 13:10:02 2016 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Jun 14 14:17:02 2016 -0700

----------------------------------------------------------------------
 package.json                | 1 +
 src/update-release-notes.js | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/81de2926/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index d801c25..b8ef658 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
     "co": "~3.0",
     "glob": "^5.0.14",
     "gnode": "^0.1.0",
+    "jira-linkify": "^2.2.3",
     "nlf": "1.1.0",
     "opener": "^1.4.1",
     "optimist": "0.4",

http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/81de2926/src/update-release-notes.js
----------------------------------------------------------------------
diff --git a/src/update-release-notes.js b/src/update-release-notes.js
index ca548ac..1c4fd35 100644
--- a/src/update-release-notes.js
+++ b/src/update-release-notes.js
@@ -24,6 +24,7 @@ var executil = require('./executil');
 var flagutil = require('./flagutil');
 var gitutil = require('./gitutil');
 var repoutil = require('./repoutil');
+var linkify = require('jira-linkify');
 
 module.exports = function*() {
     var meEmail = yield executil.execHelper(executil.ARGS('git config user.email'), true);
@@ -60,6 +61,7 @@ module.exports = function*() {
             var date = new Date().toDateString().split(' ');
             data = data.substr(0, pos) + "### " + newVersion + ' (' + date[1] + ' ' + date[2] + ', ' + date[3] + ')\n' + output + '\n\n' + data.substr(pos);
             fs.writeFileSync(relNotesFile, data, {encoding: 'utf8'});
+            linkify.file(relNotesFile);
         }
     });
 };


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