make --start-tag work again in release/script.py

This commit is contained in:
Lex Berezhny 2020-01-13 21:39:59 -05:00
parent 7d9d0c15d3
commit 1a905d9a42

View file

@ -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()