Skip to content

Commit

Permalink
fix: previous_version_tag_name None handling
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianKuesters committed Mar 26, 2024
1 parent 4349e43 commit 2ef1b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def main() -> None:
new_version += f'-{args.suffix}'

new_version_tag_name = f'{args.prefix}{new_version}'
previous_version_tag_name = f'{args.prefix}{previous_version}'
previous_version_tag_name = f'{args.prefix}{previous_version}' if previous_version else ''

if args.create_tag and has_changes:
create_tag(new_version_tag_name)
Expand Down

0 comments on commit 2ef1b6f

Please sign in to comment.