You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/06/28 02:55:13 UTC

[arrow] branch master updated: ARROW-5768: [Release] Remove needless empty lines at the end of CHANGELOG.md

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

kou 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 5beda14  ARROW-5768: [Release] Remove needless empty lines at the end of CHANGELOG.md
5beda14 is described below

commit 5beda14953379198df7aa340a08cf6b66bb23821
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Fri Jun 28 11:54:55 2019 +0900

    ARROW-5768: [Release] Remove needless empty lines at the end of CHANGELOG.md
    
    Author: Sutou Kouhei <ko...@clear-code.com>
    
    Closes #4731 from kou/release-changelog-remove-newlines and squashes the following commits:
    
    56765f8f9 <Sutou Kouhei>  Remove needless empty lines at the end of CHANGELOG.md
---
 dev/release/changelog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/changelog.py b/dev/release/changelog.py
index 414b229..4b6c4bc 100755
--- a/dev/release/changelog.py
+++ b/dev/release/changelog.py
@@ -152,7 +152,7 @@ def append_changelog(version, changelog_path):
     print(''.join(old_changelog[19:]), file=result)
 
     with open(changelog_path, 'w') as f:
-        f.write(result.getvalue())
+        f.write(result.getvalue().rstrip() + '\n')
 
 
 if __name__ == '__main__':