make --start-tag work again in release/script.py
This commit is contained in:
parent
7d9d0c15d3
commit
1a905d9a42
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ def release(args):
|
||||||
new_version = current_version.increment(args.action)
|
new_version = current_version.increment(args.action)
|
||||||
print(f' New Version: {new_version}')
|
print(f' New Version: {new_version}')
|
||||||
|
|
||||||
previous_release = repo.release_from_tag(current_version.tag)
|
previous_release = repo.release_from_tag(args.start_tag or current_version.tag)
|
||||||
|
|
||||||
print(f' Changelog From: {previous_release.tag_name} ({previous_release.created_at})')
|
print(f' Changelog From: {previous_release.tag_name} ({previous_release.created_at})')
|
||||||
print()
|
print()
|
||||||
|
|
Loading…
Reference in a new issue