You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2017/04/27 16:00:03 UTC
cordova-coho git commit: release note compilaton: small refactor in
backticking, and add "README" to tokens to backtick
Repository: cordova-coho
Updated Branches:
refs/heads/master a252290ed -> 173a24537
release note compilaton: small refactor in backticking, and add "README" to tokens to backtick
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/173a2453
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/173a2453
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/173a2453
Branch: refs/heads/master
Commit: 173a2453746429908ba20d99144ebf84deaa7388
Parents: a252290
Author: filmaj <ma...@gmail.com>
Authored: Thu Apr 27 08:59:56 2017 -0700
Committer: filmaj <ma...@gmail.com>
Committed: Thu Apr 27 08:59:56 2017 -0700
----------------------------------------------------------------------
src/update-release-notes.js | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/173a2453/src/update-release-notes.js
----------------------------------------------------------------------
diff --git a/src/update-release-notes.js b/src/update-release-notes.js
index 360471d..25c3c9f 100644
--- a/src/update-release-notes.js
+++ b/src/update-release-notes.js
@@ -141,16 +141,12 @@ function *createNotes(repo, newVersion, changes, overrideDate) {
}).join('\n');
// some more release note linting: enclose in backticks certain tokens
- data = backtick(data, 'plugin.xml');
- data = backtick(data, 'package.json');
- data = backtick(data, 'config.xml');
+ ['plugin.xml', 'package.json', 'config.xml', 'README', 'InAppBrowser'].forEach(function(token) {
+ data = backtick(data, token);
+ });
flagutil.computeReposFromFlag('platforms').map(function(r) { return r.repoName; }).forEach(function(platform_name) {
data = backtick(data, platform_name);
});
- var special_plugin_names = ['InAppBrowser'];
- special_plugin_names.forEach(function(name) {
- data = backtick(data, name);
- });
// bold platform labels (with optional version numbers, too)
var version_labels = [];
repoutil.repoGroups.platforms.filter(function(p) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org