File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 73
73
uses : ./.github/actions/move-artifacts
74
74
75
75
- name : Publish npm packages
76
- if : env.release_npm == 'true'
77
76
env :
78
77
NPM_TOKEN : ${{ secrets.RSLINT_NPM_TOKEN }}
79
78
run : |
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ async function publish_all() {
33
33
await $ `rm -rf ./packages/vscode-extension/dist/rslint` ;
34
34
await $ `rm -rf ./packages/vscode-extension/dist/rslint.exe` ;
35
35
await $ `cp binaries/${ os } -${ arch } -rslint/${ os } -${ arch } -rslint ./packages/vscode-extension/dist/rslint` ;
36
+ await $ `chmod +x ./packages/vscode-extension/dist/rslint` ;
37
+ await $ `ls -lR ./packages/vscode-extension/dist` ;
36
38
const prereleaseFlag = prerelease ? [ '--pre-release' ] : [ ] ;
37
39
38
40
await $ `cd packages/vscode-extension && pnpm vsce package --target ${ os } -${ arch } ${ prereleaseFlag } ` ;
@@ -42,7 +44,7 @@ async function publish_all() {
42
44
console . log ( `Dry run: Skipping actual publish for ${ os } -${ arch } ` ) ;
43
45
continue ;
44
46
}
45
- await $ `cd packages/vscode-extension && pnpm ${ marketplace } publish --target ${ os } - ${ arch } -- packagePath ./rslint-${ os } -${ arch } -${ version } .vsix ${ prereleaseFlag } ` ;
47
+ await $ `cd packages/vscode-extension && pnpm ${ marketplace } publish --packagePath ./rslint-${ os } -${ arch } -${ version } .vsix ${ prereleaseFlag } ` ;
46
48
console . log ( `Finish Publishing v${ version } for ${ os } -${ arch } .` ) ;
47
49
}
48
50
}
You can’t perform that action at this time.
0 commit comments