Skip to content

Commit 5256939

Browse files
committed
feat: release upload also uploads the release as latest.zip
1 parent e888ba4 commit 5256939

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/version-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ jobs:
105105
SUPABASE_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
106106
run: |
107107
curl -X POST "$SUPABASE_URL/storage/v1/object/wasplib/$ZIP_NAME" \
108+
-H "Authorization: Bearer $SUPABASE_KEY" \
109+
-H "Content-Type: application/zip" \
110+
--data-binary @"$ZIP_NAME"
111+
curl -X PUT "$SUPABASE_URL/storage/v1/object/wasplib/latest.zip" \
108112
-H "Authorization: Bearer $SUPABASE_KEY" \
109113
-H "Content-Type: application/zip" \
110114
--data-binary @"$ZIP_NAME"

0 commit comments

Comments
 (0)