GHActions: Properly label Linux AVX2/SSE4 releases

This commit is contained in:
tellowkrinkle 2022-07-18 21:08:27 -05:00
parent 7b4d545dca
commit fc1504f2e5
1 changed files with 5 additions and 4 deletions

View File

@ -15,13 +15,14 @@ for dir_name in os.listdir(scan_dir):
asset_name += "-linux-AppImage-64bit" asset_name += "-linux-AppImage-64bit"
elif "windows" in dir_name.lower(): elif "windows" in dir_name.lower():
asset_name += "-windows-64bit" asset_name += "-windows-64bit"
if "avx" in dir_name.lower():
asset_name += "-AVX2"
else:
asset_name += "-SSE4"
else: else:
continue; 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(): if "wxwidgets" in dir_name.lower():
asset_name += "-wxWidgets" asset_name += "-wxWidgets"
else: else: