bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
(cherry picked from commit d0802d07d2
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
3ac65a7161
commit
00e2fe4f21
|
@ -20,7 +20,7 @@ def _unpack_hexversion():
|
|||
|
||||
|
||||
def _get_suffix(field4):
|
||||
name = {0xA0: "a", 0xB0: "b", 0xC0: "c"}.get(field4 & 0xF0, "")
|
||||
name = {0xA0: "a", 0xB0: "b", 0xC0: "rc"}.get(field4 & 0xF0, "")
|
||||
if name:
|
||||
serial = field4 & 0x0F
|
||||
return f"{name}{serial}"
|
||||
|
|
Loading…
Reference in New Issue