Browse Source

fix NameError in `shore changelog` command

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

+ 1
- 1
src/shore/__main__.py

@ -848,7 +848,7 @@ def changelog(**args):
if args['commit']:
commit_message = entry.description
if isinstance(subject, Package) and subject.monorepo:
commit_message = '{}({}): '.format(entry.type_.name, package.name) + commit_message
commit_message = '{}({}): '.format(entry.type_.name, subject.name) + commit_message
else:
commit_message = '{}: '.format(entry.type_.name) + commit_message
_git.commit(commit_message)

Loading…
Cancel
Save