diff --git a/scripts/assemble.sh b/scripts/assemble.sh index 99fbbb7c6c99e..3461ea6d782fb 100755 --- a/scripts/assemble.sh +++ b/scripts/assemble.sh @@ -376,7 +376,7 @@ function main() { echo "Assembling wazuh-indexer for $PLATFORM-$DISTRIBUTION-$ARCHITECTURE" VERSION=$(bash scripts/upstream_version.sh) - ARTIFACT_BUILD_NAME=$(ls "${OUTPUT}/dist/" | grep "wazuh-indexer-min_.*$SUFFIX.*\.$EXT") + ARTIFACT_BUILD_NAME=$(ls "${OUTPUT}/dist/" | grep "wazuh-indexer-min.*$SUFFIX.*\.$EXT") ARTIFACT_PACKAGE_NAME=${ARTIFACT_BUILD_NAME/-min/} # Create temporal directory and copy the min package there for extraction