From c7161ba1ace43d0ced14c10e9ea9282cc385e66c Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 25 Apr 2017 16:51:30 -0400 Subject: [PATCH] nicer changelog --- CHANGELOG.md | 14 ++++++++++++++ build/changelog.py | 11 ++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0faaa1a17..e391c7073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ can and probably will change functionality and break backwards compatability at anytime. ## [Unreleased] + ### Added * * @@ -20,7 +21,17 @@ at anytime. * * +### Deprecated + * + * + +### Removed + * + * + + ## [0.10.0] - 2017-04-25 + ### Added * Add `lbryschema_version` to response from `version` * Added call to `get_address_balance` when `address` conditional returns true @@ -34,14 +45,17 @@ at anytime. * fixed signing of Windows binaries * fixed a few pylint warnings + ## [0.10.0rc2] - 2017-04-17 ### Changed * Return full `lbry_id` and `installation_id` from `status` + ## [0.10.0rc1] - 2017-04-13 ### Fixed * Fix uncaught exception in `stream_cost_estimate` + ## [0.9.2rc22] - 2017-04-12 ### Added * Add `claim_id` parameter to `claim_show` diff --git a/build/changelog.py b/build/changelog.py index eb03b682f..322fc30a7 100644 --- a/build/changelog.py +++ b/build/changelog.py @@ -24,6 +24,14 @@ TEMPLATE = """### Added * * +### Deprecated + * + * + +### Removed + * + * + """ @@ -96,6 +104,7 @@ class Changelog(object): output.append('### {}'.format(section)) for entry in sections[section]: output.append(' * {}'.format(entry)) + output.append("\n") return output def get_unreleased(self): @@ -106,7 +115,7 @@ class Changelog(object): return today = datetime.datetime.today() - header = '## [{}] - {}\n'.format(version, today.strftime('%Y-%m-%d')) + header = "## [{}] - {}\n\n".format(version, today.strftime('%Y-%m-%d')) changelog_data = ( ''.join(self.start) +