From 781ce7d02b4221ee8afdb212e67032887ef74600 Mon Sep 17 00:00:00 2001 From: "Minnie A. Trethewey (Mike)" Date: Sat, 11 May 2024 23:14:50 -0700 Subject: [PATCH] Loosely validate filename --- resources/ci/common/prepare_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/ci/common/prepare_release.py b/resources/ci/common/prepare_release.py index ef81add..606bf7c 100644 --- a/resources/ci/common/prepare_release.py +++ b/resources/ci/common/prepare_release.py @@ -60,7 +60,7 @@ if len(BUILD_FILENAMES) > 0: for BUILD_FILENAME in BUILD_FILENAMES: - if not BUILD_FILENAME == "": + if not BUILD_FILENAME in ["",".",".."]: if not "artifact" in BUILD_FILENAME: # move the binary to temp folder move(