Skip to content

Commit

Permalink
Fix: Logic for changelog file boolean. If we have conventional commits
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself committed Feb 22, 2022
2 parents a43841c + 666c1c5 commit f66c605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pontos/release/release.py
Expand Up @@ -115,7 +115,7 @@ def release(
)

# set to new version add skeleton
changelog_bool = True
changelog_bool = False
if not args.conventional_commits:
change_log_path = path.cwd() / 'CHANGELOG.md'
if args.changelog:
Expand All @@ -133,7 +133,7 @@ def release(
git_space=space,
)
change_log_path.write_text(updated, encoding='utf-8')
changelog_bool = False
changelog_bool = True

commit_msg += f'* Add empty changelog after {release_version}'

Expand Down

0 comments on commit f66c605

Please sign in to comment.