Skip to content

Handle Supabase CLI v2.99 archives#425

Merged
jgoux merged 1 commit into
mainfrom
fix-v299-latest-archive
May 18, 2026
Merged

Handle Supabase CLI v2.99 archives#425
jgoux merged 1 commit into
mainfrom
fix-v299-latest-archive

Conversation

@jgoux
Copy link
Copy Markdown
Contributor

@jgoux jgoux commented May 18, 2026

Summary

Supabase CLI v2.99.0 changed the release archive layout. The latest release no longer exposes assets like supabase_linux_amd64.tar.gz; the downloadable tarballs are now versioned, for example supabase_2.99.0_linux_amd64.tar.gz. Windows archives also switched to .zip for v2.99.0+.

This updates the setup action to:

  • Resolve latest to the actual Supabase CLI release tag before building the download URL.
  • Keep the existing unversioned archive path for CLI versions before v2.99.0.
  • Use the new versioned archive path for v2.99.0 and later.
  • Extract Windows v2.99.0+ archives with extractZip; keep tar extraction for Linux and macOS.
  • Continue executing the main supabase binary even though the archive now also contains supabase-go.

This should fix the latest download failure reported in supabase/cli#5257.

Testing

  • bun test
  • bun run ci
  • Local smoke test with INPUT_VERSION=latest bun src/main.ts, which downloaded and executed supabase_2.99.0_darwin_arm64.tar.gz successfully.

@jgoux jgoux requested a review from a team as a code owner May 18, 2026 11:00
@jgoux jgoux merged commit a4d563a into main May 18, 2026
29 of 31 checks passed
@jgoux jgoux deleted the fix-v299-latest-archive branch May 18, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants