From effbf32232b0eca22ccc9eafa90d6e2e457f8a42 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 19 Sep 2024 14:25:04 +0100 Subject: [PATCH] =?UTF-8?q?We=20don=E2=80=99t=20need=20to=20ship=20all=20t?= =?UTF-8?q?he=20fonts=20in=20the=20artefact=20*again*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/notoqa/regression.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/notoqa/regression.py b/Lib/notoqa/regression.py index 22c28e8..097ebc8 100644 --- a/Lib/notoqa/regression.py +++ b/Lib/notoqa/regression.py @@ -1,5 +1,6 @@ import os import glob +import shutil from gftools.actions.getlatestversion import get_latest_release from gftools.utils import download_files_from_archive from diffenator2.html import build_index_page @@ -101,5 +102,8 @@ else: print(f"Could not find a match for {before}") + # Remove the fonts_before directory + shutil.rmtree(fonts_before_dir) + if glob.glob(outdir + "/*"): build_index_page(outdir)