This is an automated email from the ASF dual-hosted git repository.
uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 4e20aa9 ARROW-3438: [Packaging] Fix too much Markdown escape in
CHANGELOG
4e20aa9 is described below
commit 4e20aa9e9d094338a49fcd19f4612a94a1c6eeee
Author: Kouhei Sutou <[email protected]>
AuthorDate: Fri Oct 5 09:34:52 2018 +0200
ARROW-3438: [Packaging] Fix too much Markdown escape in CHANGELOG
Author: Kouhei Sutou <[email protected]>
Closes #2706 from kou/fix-too-much-escape-changelog and squashes the
following commits:
a635b860 <Kouhei Sutou> Fix too much Markdown escape in CHANGELOG
---
dev/release/changelog.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dev/release/changelog.py b/dev/release/changelog.py
old mode 100644
new mode 100755
index 415542f..baa8429
--- a/dev/release/changelog.py
+++ b/dev/release/changelog.py
@@ -67,7 +67,7 @@ def format_changelog_markdown(issues, out):
for issue_type, issue_group in sorted(issues_by_type.items()):
issue_group.sort(key=lambda x: x.key)
- out.write('## {0}\n\n'.format(issue_type))
+ out.write('## {0}\n\n'.format(_escape_for_markdown(issue_type)))
for issue in issue_group:
markdown_summary = _escape_for_markdown(issue.fields.summary)
out.write('* {0} - {1}\n'.format(issue.key,
@@ -146,8 +146,7 @@ def append_changelog(version, changelog_path):
print('# Apache Arrow {0} ({1})'.format(version, today),
end='', file=result)
print('\n', file=result)
- print(_escape_for_markdown(new_changelog),
- end='', file=result)
+ print(new_changelog, end='', file=result)
# Prior versions
print(''.join(old_changelog[19:]), file=result)