Skip to content

Commit d1e0476

Browse files
CsCherrYYrgrunber
authored andcommitted
clean jre folder before publishing generic version
Signed-off-by: Shi Chen <[email protected]>
1 parent 6c000d3 commit d1e0476

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def publishExtensions() {
6464
if (publishPreRelease.equals('true')) {
6565
stage "publish generic version"
6666
withCredentials([[$class: 'StringBinding', credentialsId: 'vscode_java_marketplace', variable: 'TOKEN']]) {
67+
// Clean up embedded jre folder from previous build
68+
sh 'npx gulp clean_jre'
69+
// Publish a generic version
6770
sh 'vsce publish --pre-release -p ${TOKEN} --target win32-ia32 win32-arm64 linux-armhf alpine-x64 alpine-arm64'
6871
}
6972

0 commit comments

Comments
 (0)