mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-30 17:41:18 +08:00
fix macos package name error
This commit is contained in:
2
.github/workflows/python-publish.yml
vendored
2
.github/workflows/python-publish.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
parts = whl_file.name.split('_')
|
||||
be_replaced = '_'.join(parts[1:3])
|
||||
new_name = whl_file.name.replace(be_replaced, replaced)
|
||||
new_whl_file = whl_file.resolve().parent.joinpath(whl_file.with_name(new_name))
|
||||
new_whl_file = whl_file.resolve().parent.parent.joinpath(whl_file.with_name(new_name))
|
||||
shutil.copy(whl_file.resolve(), new_whl_file)
|
||||
print(f'Renamed: {whl_file} -> {new_whl_file}')
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user