From 29ba5b148b6720f06ea5ffabb79bcc12ae6b4de2 Mon Sep 17 00:00:00 2001 From: Fede Tux Date: Wed, 10 Jan 2024 09:14:22 -0300 Subject: [PATCH] Fix copying of packages at assemble.sh --- scripts/assemble.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/assemble.sh b/scripts/assemble.sh index 906c10772b662..175c966c655b9 100755 --- a/scripts/assemble.sh +++ b/scripts/assemble.sh @@ -336,7 +336,7 @@ function main() { echo "Assembling wazuh-indexer for $PLATFORM-$DISTRIBUTION-$ARCHITECTURE" - ARTIFACT_BUILD_NAME=$(ls "${OUTPUT}/dist/" | grep "wazuh-indexer-min_.*\.$EXT") + ARTIFACT_BUILD_NAME=$(ls "${OUTPUT}/dist/" | grep "wazuh-indexer-min_.*$ARCHITECTURE.*\.$EXT") ARTIFACT_PACKAGE_NAME=${ARTIFACT_BUILD_NAME/min_/}