☂ SWU: GH release name can apparently be empty

This commit is contained in:
Gina Häußge committed 2020-06-24 10:37:08 +02:00
1 parent a0c0b2d8af
commit 7224970e2c
1 file changed
+2 -2
@@ -288,8 +288,8 @@ def get_latest(target, check, custom_compare=None, online=True):
commitish=commitish,
force_base=force_base)
if remote_name is None:
if remote_tag is not None:
if not remote_name:
if remote_tag:
remote_name = remote_tag
else:
remote_name = "-"