Skip to content

Commit 584c67a

Browse files
wrong platform name
1 parent 38e30cf commit 584c67a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/@pglt/pglt/scripts/generate-packages.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ async function downloadSchema(releaseTag, githubToken) {
3636

3737
async function downloadAsset(platform, arch, os, releaseTag, githubToken) {
3838
const buildName = getBuildName(platform, arch);
39+
40+
// https://github.com/supabase-community/postgres_lsp/releases/download/0.1.0/pglt_x86_64_windows-msvc
41+
// https://github.com/supabase-community/postgres_lsp/releases/download/0.1.0/pglt_x86_64-pc-windows-msvc
3942
const assetUrl = `https://github.com/supabase-community/postgres_lsp/releases/download/${releaseTag}/${buildName}`;
4043

4144
const response = await fetch(assetUrl, {
@@ -165,7 +168,7 @@ function copySchemaToNativePackage(platform, arch) {
165168

166169
await downloadSchema(releaseTag, githubToken);
167170

168-
const PLATFORMS = ["windows-msvc", "apple-darwin", "unknown-linux-gnu"];
171+
const PLATFORMS = ["pc-windows-msvc", "apple-darwin", "unknown-linux-gnu"];
169172
const ARCHITECTURES = ["x86_64", "aarch64"];
170173

171174
for (const platform of PLATFORMS) {

0 commit comments

Comments
 (0)