Skip to content

Commit

Permalink
Update npm publish scripts (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
lask authored Aug 23, 2021
1 parent 71e1f81 commit 438e528
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ pipeline {
steps {
dir('vscode') {
withCredentials([string(credentialsId: 'leon-azure-access-token', variable: 'AZURE_TOKEN')]) {
sh 'npm run vsce publish --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $AZURE_TOKEN $BUILD_VERSION'
sh 'npm run vsce-publish'
}

withCredentials([string(credentialsId: 'leon-open-vsx-access-token', variable: 'OPEN_VSX_TOKEN')]) {
sh 'npm run ovsx publish --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $OPEN_VSX_TOKEN'
sh 'npm run ovsx-publish'
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@
"lint": "eslint src --ext ts",
"lint-fix": "eslint src --ext ts --fix",
"package": "vsce package --yarn",
"vsce-publish": "vsce publish --yarn --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $AZURE_TOKEN $BUILD_VERSION",
"osvx-publish": "ovsx publish --yarn --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $OPEN_VSX_TOKEN",
"clean": "rm -rf ./out ./dist ./node_modules"
},
"devDependencies": {
Expand Down

0 comments on commit 438e528

Please sign in to comment.