Skip to content

Commit 6ca9ba1

Browse files
authored
Fix AOCC version (#729)
1 parent c51d28a commit 6ca9ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/get-aocc/customize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def preprocess(i):
7373
def detect_version(i):
7474
logger = i['automation'].logger
7575

76-
r = i['automation'].parse_version({'match_text': r'CLANG:\s(?:AOCC_)?([\d.]+(?:-[\w#]+)*(?:-Build#\d+)?|Unknown-Revision)(?=[ )])',
76+
r = i['automation'].parse_version({'match_text': r'CLANG:\s(?:AOCC_)?([\d.]+(?:pre)?(?:-[\w#]+)*(?:-Build#\d+)?|Unknown-Revision)(?=[ )])',
7777
'group_number': 1,
7878
'env_key': 'MLC_AOCC_VERSION',
7979
'which_env': i['env']})

0 commit comments

Comments
 (0)