From ecf10125863553d2420fcca0cbe04235da4bad0d Mon Sep 17 00:00:00 2001 From: Thomas Bui Date: Wed, 2 Sep 2020 11:17:34 -0700 Subject: [PATCH] Build script now look for devicon-*.zip pattern instead of const string --- .github/scripts/icomoon_upload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/icomoon_upload.py b/.github/scripts/icomoon_upload.py index d2c1f31e..ed0c7546 100644 --- a/.github/scripts/icomoon_upload.py +++ b/.github/scripts/icomoon_upload.py @@ -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)