Browse Source
bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
pull/17568/head
Steve Dower
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
PC/layout/support/constants.py
|
|
|
@ -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}" |
|
|
|
|