From fc1504f2e5073623f89557ac737928df5bc00376 Mon Sep 17 00:00:00 2001 From: tellowkrinkle Date: Mon, 18 Jul 2022 21:08:27 -0500 Subject: [PATCH] GHActions: Properly label Linux AVX2/SSE4 releases --- .../workflows/scripts/releases/rename-release-assets.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scripts/releases/rename-release-assets.py b/.github/workflows/scripts/releases/rename-release-assets.py index e13ee7a38..ba694bded 100644 --- a/.github/workflows/scripts/releases/rename-release-assets.py +++ b/.github/workflows/scripts/releases/rename-release-assets.py @@ -15,13 +15,14 @@ for dir_name in os.listdir(scan_dir): asset_name += "-linux-AppImage-64bit" elif "windows" in dir_name.lower(): asset_name += "-windows-64bit" - if "avx" in dir_name.lower(): - asset_name += "-AVX2" - else: - asset_name += "-SSE4" else: continue; + if "avx2" in dir_name.lower(): + asset_name += "-AVX2" + elif "sse4" in dir_name.lower(): + asset_name += "-SSE4" + if "wxwidgets" in dir_name.lower(): asset_name += "-wxWidgets" else: