|
@@ -18,12 +18,13 @@ const GOARCH: Record<string, string> = {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const targets = [
|
|
const targets = [
|
|
|
|
|
+ ["windows", "x64"],
|
|
|
["linux", "arm64"],
|
|
["linux", "arm64"],
|
|
|
["linux", "x64"],
|
|
["linux", "x64"],
|
|
|
["linux", "x64-baseline"],
|
|
["linux", "x64-baseline"],
|
|
|
["darwin", "x64"],
|
|
["darwin", "x64"],
|
|
|
|
|
+ ["darwin", "x64-baseline"],
|
|
|
["darwin", "arm64"],
|
|
["darwin", "arm64"],
|
|
|
- ["windows", "x64"],
|
|
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
await $`rm -rf dist`
|
|
await $`rm -rf dist`
|
|
@@ -51,7 +52,7 @@ for (const [os, arch] of targets) {
|
|
|
2,
|
|
2,
|
|
|
),
|
|
),
|
|
|
)
|
|
)
|
|
|
- if (!dry) await $`cd dist/${name} && bun publish --access public --tag ${npmTag}`
|
|
|
|
|
|
|
+ if (!dry) await $`cd dist/${name} && chmod 777 -R . && bun publish --access public --tag ${npmTag}`
|
|
|
optionalDependencies[name] = version
|
|
optionalDependencies[name] = version
|
|
|
}
|
|
}
|
|
|
|
|
|