From 35c7b5ab57fade75edf44c42458f5cab1684dcf1 Mon Sep 17 00:00:00 2001 From: Murage <25152892+0xMurage@users.noreply.github.com> Date: Sat, 25 Apr 2026 04:55:18 +0300 Subject: [PATCH 1/3] feat: release artifacts for both amd64 and arm64 macos cpus --- .github/workflows/release-cli.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-cli.yaml b/.github/workflows/release-cli.yaml index 5a4d4aa0..98fa761e 100644 --- a/.github/workflows/release-cli.yaml +++ b/.github/workflows/release-cli.yaml @@ -129,7 +129,10 @@ jobs: name: Release Artifacts on macOS needs: - create-release - runs-on: macos-15 + strategy: + matrix: + os: [macos-15-intel, macos-15] + runs-on: ${{ matrix.os }} timeout-minutes: 45 steps: - name: Install Rust Toolchain @@ -153,7 +156,7 @@ jobs: with: upload_url: ${{ env.UPLOAD_URL }} asset_path: ./cli/target/release/dbdev.tar.gz - asset_name: dbdev-${{ github.ref_name }}-macos-arm64.tar.gz + asset_name: dbdev-${{ github.ref_name }}-macos-${{ runner.arch == 'X64' && 'amd64' || 'arm64' }}.tar.gz asset_content_type: application/${{ matrix.box.content-type }} build-windows: From e5c4ac6105a1774604c0943a0acbcc0452e50082 Mon Sep 17 00:00:00 2001 From: Murage <25152892+0xMurage@users.noreply.github.com> Date: Sat, 25 Apr 2026 04:56:14 +0300 Subject: [PATCH 2/3] fix: box content type matrix not set --- .github/workflows/release-cli.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-cli.yaml b/.github/workflows/release-cli.yaml index 98fa761e..65cff6b3 100644 --- a/.github/workflows/release-cli.yaml +++ b/.github/workflows/release-cli.yaml @@ -157,7 +157,7 @@ jobs: upload_url: ${{ env.UPLOAD_URL }} asset_path: ./cli/target/release/dbdev.tar.gz asset_name: dbdev-${{ github.ref_name }}-macos-${{ runner.arch == 'X64' && 'amd64' || 'arm64' }}.tar.gz - asset_content_type: application/${{ matrix.box.content-type }} + asset_content_type: application/gzip build-windows: name: Release Artifacts on Windows From 5c0178dc9270b0b03580acbbd9d497f27d914992 Mon Sep 17 00:00:00 2001 From: Murage <25152892+0xMurage@users.noreply.github.com> Date: Sat, 25 Apr 2026 05:04:14 +0300 Subject: [PATCH 3/3] fix: use correct x86_64/intel binary on homebrew macos manifest --- .github/workflows/release-homebrew-tap.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-homebrew-tap.yaml b/.github/workflows/release-homebrew-tap.yaml index cb1bbae3..d6ab6b63 100644 --- a/.github/workflows/release-homebrew-tap.yaml +++ b/.github/workflows/release-homebrew-tap.yaml @@ -60,11 +60,19 @@ jobs: tag: ${{ inputs.tag }} fileName: "dbdev-${{ inputs.tag }}-macos-arm64.tar.gz" + - name: Download macOS AMD64 package + uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1 + with: + repository: "supabase/dbdev" + tag: ${{ inputs.tag }} + fileName: "dbdev-${{ inputs.tag }}-macos-amd64.tar.gz" + - name: Generate Manifest File run: | linux_amd64_hash=`shasum -a 256 dbdev-${{ inputs.tag }}-linux-amd64.tar.gz | cut -d" " -f1` linux_arm64_hash=`shasum -a 256 dbdev-${{ inputs.tag }}-linux-arm64.tar.gz | cut -d" " -f1` macos_arm64_hash=`shasum -a 256 dbdev-${{ inputs.tag }}-macos-arm64.tar.gz | cut -d" " -f1` + macos_amd64_hash=`shasum -a 256 dbdev-${{ inputs.tag }}-macos-amd64.tar.gz | cut -d" " -f1` version="${{ steps.vars.outputs.version }}" @@ -88,8 +96,8 @@ jobs: echo ' end' >> dbdev.rb echo ' end' >> dbdev.rb echo ' if Hardware::CPU.intel?' >> dbdev.rb - echo " url \"https://github.com/supabase/dbdev/releases/download/v${version}/dbdev-v${version}-macos-arm64.tar.gz\"" >> dbdev.rb - echo " sha256 \"${macos_arm64_hash}\"" >> dbdev.rb + echo " url \"https://github.com/supabase/dbdev/releases/download/v${version}/dbdev-v${version}-macos-amd64.tar.gz\"" >> dbdev.rb + echo " sha256 \"${macos_amd64_hash}\"" >> dbdev.rb echo '' >> dbdev.rb echo ' def install' >> dbdev.rb echo ' bin.install "dbdev"' >> dbdev.rb