bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
This commit is contained in:
parent
1d0f9b316a
commit
d0802d07d2
|
@ -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