Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions _releases/make-release-page.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def binaryNameToTitle(filename):

return F"macOS {macOSVers} {arch} Xcode {xcodeVers}"
elif platformCompiler.startswith('win32') or platformCompiler.startswith('win64'):
regexWin = re.compile(r'^win(32|64)[.](python3[0-9]+)[.](vc[0-9]+)(.debug)?')
regexWin = re.compile(r'^win(32|64)[.](python3[0-9]+)[.](vc[0-9]+)(.debug|.relwithdebinfo)?')
matchWin = regexWin.match(platformCompiler)
if not matchWin:
print(F'ERROR: cannot parse Win32 MSVC version for {filename}')
Expand All @@ -270,7 +270,8 @@ def binaryNameToTitle(filename):
if not debug:
debug = ''
else:
debug = ' (debug)'
# The match is ".debug" or ".relwithdebinfo"
debug = ' (' + ('debug' if debug == '.debug' else 'release with debugging information') + ')'
# see https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering
vcVersYear = {
'vc17': 2022,
Expand Down