Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0802d0

Browse files
authored
bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
1 parent 1d0f9b3 commit d0802d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PC/layout/support/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _unpack_hexversion():
2020

2121

2222
def _get_suffix(field4):
23-
name = {0xA0: "a", 0xB0: "b", 0xC0: "c"}.get(field4 & 0xF0, "")
23+
name = {0xA0: "a", 0xB0: "b", 0xC0: "rc"}.get(field4 & 0xF0, "")
2424
if name:
2525
serial = field4 & 0x0F
2626
return f"{name}{serial}"

0 commit comments

Comments
 (0)