Skip to content

Commit

Permalink
Terminate if last_release['tag_name'] is None
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jan 8, 2019
1 parent 20ba67c commit 25d1a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reporeleaser/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def create_release(self):
return

last_release = self.last_release()
if not last_release:
if last_release['tag_name'] is None:
return

if not last_release['tags']:
Expand Down

0 comments on commit 25d1a62

Please sign in to comment.