From 25c178db2a81c5feb63180bad38e3e100f4f08f5 Mon Sep 17 00:00:00 2001
From: Fabio <fabiorauber@gmail.com>
Date: Fri, 4 Apr 2025 17:54:23 -0300
Subject: [PATCH] Fix charts find command

---
 .drone.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.drone.yml b/.drone.yml
index 7320543..8df66b4 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -15,7 +15,7 @@ steps:
     commands:
       - mkdir -p charts/dist
       # Find all versioned chart directories
-      - ALL_CHARTS=$(find charts -maxdepth 2 -type d -regex ".*/v[0-9]+\.[0-9]+\.[0-9]+")
+      - "ALL_CHARTS=`find charts -maxdepth 2 -type d -regex '.*/v[0-9]+\.[0-9]+\.[0-9]+'`"
       - "echo \"Detected charts: $ALL_CHARTS\""
       - if [ -n "$ALL_CHARTS" ]; then echo "$ALL_CHARTS" | xargs -I {} helm package {} --destination charts/dist; else echo "No charts found in repository"; exit 1; fi
       # Debug: List packaged files