diff --git a/scripts/release.py b/scripts/release.py index 54bd2b6f6..6e9e58a6f 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -174,7 +174,7 @@ def release(args): name=new_version.tag, body=body.getvalue(), draft=True, - prerelease=True + prerelease=new_version.rc is not None )