mirror of
https://github.com/konpa/devicon.git
synced 2025-08-13 18:14:21 +02:00
Build script now look for devicon-*.zip pattern instead of const string
This commit is contained in:
3
.github/scripts/icomoon_upload.py
vendored
3
.github/scripts/icomoon_upload.py
vendored
@@ -49,7 +49,8 @@ def main():
|
||||
svgs = filehandler.get_svgs_paths(new_icons, args.icons_folder_path)
|
||||
runner.upload_svgs(svgs)
|
||||
|
||||
zip_name = "devicon-v1.0.zip"
|
||||
# get the downloaded zip file
|
||||
zip_name = next(Path(".").glob("devicon-*.zip"))
|
||||
zip_path = Path(args.download_path, zip_name)
|
||||
runner.download_icomoon_fonts(zip_path)
|
||||
filehandler.extract_files(str(zip_path), args.download_path)
|
||||
|
Reference in New Issue
Block a user