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/08/24 22:55:56 UTC
cordova-coho git commit: fixed update-release-notes command
Repository: cordova-coho
Updated Branches:
refs/heads/master d6a744381 -> fcf7f2995
fixed update-release-notes command
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/fcf7f299
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/fcf7f299
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/fcf7f299
Branch: refs/heads/master
Commit: fcf7f2995ebf499cf67840d4c36fa989e3d34844
Parents: d6a7443
Author: Steve Gill <st...@gmail.com>
Authored: Thu Aug 24 15:55:52 2017 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Aug 24 15:55:52 2017 -0700
----------------------------------------------------------------------
src/update-release-notes.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/fcf7f299/src/update-release-notes.js
----------------------------------------------------------------------
diff --git a/src/update-release-notes.js b/src/update-release-notes.js
index 1810fda..3a72ba7 100644
--- a/src/update-release-notes.js
+++ b/src/update-release-notes.js
@@ -166,7 +166,7 @@ function * createNotes (repo, newVersion, changes, overrideDate) {
data = bold(data, platform);
});
// then interpolate linkified changes into existing release notes and compose the final release notes string
- var relNotesData = fs.readFileSync(path.join(process.cwd(), repo, relNotesFile), {encoding: 'utf8'});
+ var relNotesData = fs.readFileSync(path.join(process.cwd(), relNotesFile), {encoding: 'utf8'});
var headerPos = relNotesData.indexOf('### ');
var date;
if (overrideDate) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org