From ff2f258ff249e973523c334bc1eb2c5c416d04f3 Mon Sep 17 00:00:00 2001 From: Rinze-Smits <55499049+Rinze-Smits@users.noreply.github.com> Date: Thu, 10 Sep 2026 14:16:57 +0200 Subject: [PATCH] supabase feature downloads correct cli Feature should not download config release Feature should not download prerelease Feature should distinguish between asset with and without version number Signed-off-by: Rinze-Smits <55499049+Rinze-Smits@users.noreply.github.com> --- src/supabase-cli/install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/supabase-cli/install.sh b/src/supabase-cli/install.sh index 3ce2af754..57ff1cd82 100755 --- a/src/supabase-cli/install.sh +++ b/src/supabase-cli/install.sh @@ -8,14 +8,18 @@ set -e # `ensure_nanolayer` is a bash function that will find any existing nanolayer installations, # and if missing - will download a temporary copy that automatically get deleted at the end # of the script -ensure_nanolayer nanolayer_location "v0.5.4" +ensure_nanolayer nanolayer_location "v0.5.6" $nanolayer_location \ install \ devcontainer-feature \ "ghcr.io/devcontainers-extra/features/gh-release:1.0.25" \ - --option repo='supabase/cli' --option binaryNames='supabase' --option version="$VERSION" + --option repo='supabase/cli' \ + --option binaryNames='supabase' \ + --option version="$VERSION" \ + --option assetRegex='^supabase_.*_.*_.*.tar.gz$' \ + --option releaseTagRegex='^v\d+\.\d+\.\d+$'