File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3838import forum
3939
4040# Compile regexes for extracting version components
41- MAJOR_VERSION_PATTERN = re .compile ("set_if_not_defined\(FSO_VERSION_MAJOR (\d+)\)" )
42- MINOR_VERSION_PATTERN = re .compile ("set_if_not_defined\(FSO_VERSION_MINOR (\d+)\)" )
43- BUILD_VERSION_PATTERN = re .compile ("set_if_not_defined\(FSO_VERSION_BUILD (\d+)\)" )
44- REVISION_VERSION_PATTERN = re .compile ("set_if_not_defined\(FSO_VERSION_REVISION (\d+)\)" )
45- REVISION_STR_VERSION_PATTERN = re .compile ("set_if_not_defined\(FSO_VERSION_REVISION_STR (\d+)\)" )
41+ MAJOR_VERSION_PATTERN = re .compile ("(?: set_if_not_defined|set) \(FSO_VERSION_MAJOR (\d+)\)" )
42+ MINOR_VERSION_PATTERN = re .compile ("(?: set_if_not_defined|set) \(FSO_VERSION_MINOR (\d+)\)" )
43+ BUILD_VERSION_PATTERN = re .compile ("(?: set_if_not_defined|set) \(FSO_VERSION_BUILD (\d+)\)" )
44+ REVISION_VERSION_PATTERN = re .compile ("(?: set_if_not_defined|set) \(FSO_VERSION_REVISION (\d+)\)" )
45+ REVISION_STR_VERSION_PATTERN = re .compile ("(?: set_if_not_defined|set) \(FSO_VERSION_REVISION_STR (\d+)\)" )
4646
4747LOG_FORMAT = """
4848------------------------------------------------------------------------%n
You can’t perform that action at this time.
0 commit comments