release script automatically figures out prerelease status

This commit is contained in:
Lex Berezhny 2018-12-14 22:24:57 -05:00
parent e8dec5b440
commit 04278cb1ab

View file

@ -174,7 +174,7 @@ def release(args):
name=new_version.tag, name=new_version.tag,
body=body.getvalue(), body=body.getvalue(),
draft=True, draft=True,
prerelease=True prerelease=new_version.rc is not None
) )