Broaden the 'internal' condition a bit.

Should help with testing as well.

CURA-12469
This commit is contained in:
Remco Burema 2025-03-19 16:39:37 +01:00
parent bc4d57348c
commit 2b032af13c

View File

@ -566,7 +566,7 @@ class CuraConan(ConanFile):
def _make_internal_distinct(self):
test_colors_path = Path(self.source_folder, "resources", "themes", "daily_test_colors.json")
if self.options.internal:
if "alpha" in self.version:
biweekly_day = (datetime.now() - datetime(2025, 3, 14)).days
with test_colors_path.open("r") as test_colors_file:
test_colors = json.load(test_colors_file)