Compare commits
2 Commits
c2f3602163
...
4a59bc6e88
Author | SHA1 | Date |
---|---|---|
iratusmachina | 4a59bc6e88 | |
iratusmachina | 6bb0da8f79 |
|
@ -49,8 +49,8 @@ def draft():
|
|||
|
||||
# Get the current and previous tags
|
||||
tags = subprocess.check_output(["git", "tag", "--sort=creatordate"], text=True)
|
||||
if tags:
|
||||
tags = [tag for tag in tags.split("\n") if tag]
|
||||
tags = [tag for tag in tags.split("\n") if tag]
|
||||
if len(tags) > 1:
|
||||
tags.reverse()
|
||||
current_tag, previous_tag, *_ = tags
|
||||
formatted_lines = subprocess.check_output(["git", "log", f"{current_tag}...{previous_tag}", f'--pretty=format:"* %s"'], text=True)
|
||||
|
|
Loading…
Reference in New Issue