invert tag string selection logic
@@ -40,7 +40,7 @@ class OriginTagger(VersionTagger):
super(OriginTagger, self)._tag_release()
def _get_tag_for_version(self, version, release=None):
- if release:
+ if release is None:
return "v{}".format(version)
else:
return "v{}-{}".format(version, release)
