Skip to content

Commit ecf1012

Browse files
committed
Build script now look for devicon-*.zip pattern instead of const string
1 parent 00b2996 commit ecf1012

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/scripts/icomoon_upload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def main():
4949
svgs = filehandler.get_svgs_paths(new_icons, args.icons_folder_path)
5050
runner.upload_svgs(svgs)
5151

52-
zip_name = "devicon-v1.0.zip"
52+
# get the downloaded zip file
53+
zip_name = next(Path(".").glob("devicon-*.zip"))
5354
zip_path = Path(args.download_path, zip_name)
5455
runner.download_icomoon_fonts(zip_path)
5556
filehandler.extract_files(str(zip_path), args.download_path)

0 commit comments

Comments
 (0)