Browse Source

fix missing import of ChangelogManager after it was moved to "shut" module

shut
Niklas Rosenstein 10 months ago
parent
commit
c504e96ef2
No known key found for this signature in database GPG Key ID: 6D269B33D25F6C6
1 changed files with 2 additions and 1 deletions
  1. + 2
    - 1
      src/shore/__main__.py

+ 2
- 1
src/shore/__main__.py

@ -549,7 +549,8 @@ def bump(**args):
# Rename the unreleased changelog if it exists.
def _release_changelogs(subject):
changelog_manager = ChangelogManager(os.path.join(subject.directory, subject.changelog_directory), mapper)
from shut.changelog.manager import ChangelogManager
changelog_manager = ChangelogManager(os.path.join(subject.directory, subject.changelog_directory))
if changelog_manager.unreleased.exists():
changed_files.append(changelog_manager.unreleased.filename)
if args['dry']:

Loading…
Cancel
Save