Skip to content

Commit 9b55785

Browse files
authored
fix: add supafast tarball for upgrading auth via supabase-admin-api (#2009)
`supabase-admin-api` (internal repository) likes tarballs that *only use `gotrue`* as only those will be upgraded via the admin-api mechanism. This adds an additional tarball version usable with this upgrade mechanism.
1 parent 4beb1af commit 9b55785

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ jobs:
9696
mv auth-arm64 auth
9797
tar -czvf auth-v$RELEASE_VERSION-arm64.tar.gz auth gotrue migrations/
9898
99+
# Create a "supafast" tarball that can be used by supabase-admin-api to upgrade Auth quickly
100+
cp auth gotrue
101+
tar -czvf auth-v$RELEASE_VERSION.supafast-arm64.tar.gz gotrue migrations/
102+
99103
- name: Upload release artifacts
100104
if: ${{ steps.release.outputs.release_created == 'true' || steps.release.outputs.prs_created == 'true' }}
101105
run: |
@@ -134,7 +138,7 @@ jobs:
134138
fi
135139
fi
136140
137-
GH_TOKEN='${{ github.token }}' gh release upload $RELEASE_NAME ./auth-v$RELEASE_VERSION-x86.tar.gz ./auth-v$RELEASE_VERSION-arm64.tar.gz
141+
GH_TOKEN='${{ github.token }}' gh release upload $RELEASE_NAME ./auth-v$RELEASE_VERSION-x86.tar.gz ./auth-v$RELEASE_VERSION-arm64.tar.gz ./auth-v$RELEASE_VERSION.supafast-arm64.tar.gz
138142
139143
publish:
140144
needs:

0 commit comments

Comments
 (0)