Skip to content

Commit

Permalink
- Add title to the generated CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Oct 14, 2021
1 parent 4b9b711 commit 1759954
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Change Log

0.0.1 (08/30/2021)
------------------
- Initial commit
Expand Down Expand Up @@ -92,3 +94,7 @@
0.2.0 (08/31/2021)
------------------
- Remove timestamp from CHANGELOG

0.2.1 (10/14/2021)
------------------
- Add title to the generated CHANGELOG
1 change: 1 addition & 0 deletions changemaker/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def run(self) -> None:
logger.info('Generating CHANGELOG')
iterator = 0
with open(self.change, 'a') as file:
file.write('Change Log\n\n')
for index, element in enumerate(log):
element = element.strip()
if not element.startswith('commit') and not element.startswith('Author'):
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version_info = (0, 2, 0)
version_info = (0, 2, 1)

0 comments on commit 1759954

Please sign in to comment.