Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Return the created changelog entry (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored Apr 5, 2020
1 parent 2a5cefc commit 861d1d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release_often/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def update_changelog(path, new_version):
new_entry = changelog.entry(path.suffix, new_version, gidgethub.actions.event())
current_changelog = path.read_text(encoding="utf-8")
path.write_text(new_entry + current_changelog, encoding="utf-8")
return new_entry


def build():
Expand Down

0 comments on commit 861d1d6

Please sign in to comment.