From 5ed3be508584e1eef2fb5d0ffa176d692a7b2f71 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 22 Jun 2024 10:43:26 +0200 Subject: [PATCH] Fixed patterns --- .github/workflows/build-and-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 7ca8501f..98020e3e 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -661,11 +661,11 @@ jobs: platform="darwin-aarch64" elif [[ "$sig_file" == *"x86_64-apple-darwin"* ]]; then platform="darwin-x86_64" - elif [[ "$sig_file" == *"x86_64-unknown-linux-" ]]; then + elif [[ "$sig_file" == *"x86_64-unknown-linux-"* ]]; then platform="linux-x86_64" - elif [[ "$sig_file" == *"x86_64-pc-windows-" ]]; then + elif [[ "$sig_file" == *"x86_64-pc-windows-"* ]]; then platform="windows-x86_64" - elif [[ "$sig_file" == *"aarch64-pc-windows-" ]]; then + elif [[ "$sig_file" == *"aarch64-pc-windows-"* ]]; then platform="windows-aarch64" else echo "Platform not recognized: '$sig_file'"