Skip to content

Commit

Permalink
try and fix ovsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Lindstrøm committed Jun 17, 2021
1 parent 0d76f4b commit 8ab20ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,12 @@ pipeline {
steps {
dir('vscode') {
withCredentials([string(credentialsId: 'leon-azure-access-token', variable: 'AZURE_TOKEN')]) {
sh "yarn run vsce publish --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $AZURE_TOKEN $BUILD_VERSION"
sh 'yarn run vsce publish --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $AZURE_TOKEN $BUILD_VERSION'
}

withCredentials([string(credentialsId: 'leon-open-vsx-access-token', variable: 'OPEN_VSX_TOKEN')]) {
sh "yarn run ovsx publish --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $OPEN_VSX_TOKEN toit-$BUILD_VERSION.vsix"
sh "yarn package"
sh 'yarn run ovsx publish --baseImagesUrl https://github.com/toitware/ide-tools/raw/master/vscode/ -p $OPEN_VSX_TOKEN toit-${BUILD_VERSION#v}.vsix'
}
}
}
Expand Down

0 comments on commit 8ab20ff

Please sign in to comment.