fix: wrong platform field for musl packages
This commit is contained in:
parent
afbaf512d0
commit
a1bff49ef9
2 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
|||
"format:source": "prettier --config ./package.json --write './**/*.{js,ts}'",
|
||||
"format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'",
|
||||
"lint": "eslint -c .eslintrc.yml './src/**/*.ts' './test_module/**/*.{ts,js}'",
|
||||
"prepublishOnly": "npm run build",
|
||||
"test": "ava"
|
||||
},
|
||||
"bugs": {
|
||||
|
|
|
@ -40,7 +40,7 @@ export class CreateNpmDirCommand extends Command {
|
|||
{
|
||||
name: `${packageName}-${platform}`,
|
||||
version,
|
||||
os: [platform],
|
||||
os: [platform.replace('-musl', '')],
|
||||
main: binaryFileName,
|
||||
files: [binaryFileName],
|
||||
...pick(
|
||||
|
|
Loading…
Reference in a new issue