Skip to content

Commit a026ba1

Browse files
committed
Fix 'vsce publish' step when dealing with 'target' & 'packagePath'
Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent bb72f21 commit a026ba1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ node('rhel8'){
107107
for(platformVsix in platformVsixes){
108108
sh 'vsce publish -p ${TOKEN}' + " --packagePath ${platformVsix.path}"
109109
}
110-
sh 'vsce publish -p ${TOKEN} --target win32-ia32 win32-arm64 linux-arm64 linux-armhf alpine-x64 alpine-arm64 darwin-arm64 --packagePath' + " ${vsix[0].path}"
110+
// Cannot combine packagePath & target, so re-generate (generic) package and publish
111+
sh 'vsce publish -p ${TOKEN} --target win32-ia32 win32-arm64 linux-arm64 linux-armhf alpine-x64 alpine-arm64 darwin-arm64'
111112
}
112113

113114
// Open-vsx Marketplace

0 commit comments

Comments
 (0)