fix: Convert to lower case in upload symbols script (#15258)
* fix: Convert to lower case in upload symbols script * fix: Convert to lower case in upload symbols script
This commit is contained in:
parent
4de502252b
commit
c0db0011ec
1 changed files with 3 additions and 1 deletions
|
@ -29,9 +29,11 @@ def main():
|
||||||
for pdb in PDB_LIST:
|
for pdb in PDB_LIST:
|
||||||
run_symstore(pdb, SYMBOLS_DIR, PRODUCT_NAME)
|
run_symstore(pdb, SYMBOLS_DIR, PRODUCT_NAME)
|
||||||
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
|
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
|
||||||
files = [f.lower() for f in files]
|
|
||||||
else:
|
else:
|
||||||
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
|
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
|
||||||
|
# The symbol server needs lowercase paths, it will fail otherwise
|
||||||
|
# So lowercase all the file paths here
|
||||||
|
files = [f.lower() for f in files]
|
||||||
|
|
||||||
bucket, access_key, secret_key = s3_config()
|
bucket, access_key, secret_key = s3_config()
|
||||||
upload_symbols(bucket, access_key, secret_key, files)
|
upload_symbols(bucket, access_key, secret_key, files)
|
||||||
|
|
Loading…
Reference in a new issue