Skip to content

Commit 96fd984

Browse files
authored
Update release-client.sh script
Update vscde to latest version (vsce is depresated in favor of @vscode/vsce) Add --skip-duplicate flag, this allows us to fail silently if the version already exists on the marketplace, which was why we had the "|| echo" before, but it also hid real failures, so IMO this is a better way to handle that
1 parent ef231a9 commit 96fd984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release-client.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ pnpm verify:bail
1313

1414
cd vscode-client
1515

16-
# NOTE: it would be much nicer if we could detect which version was deployed...
17-
npx vsce@1.103.1 publish -p $VSCE_TOKEN && tagRelease $tag || echo 'Deploy failed, probably there was no changes'
16+
npx @vscode/vsce@2.26.0 publish --skip-duplicate -p $VSCE_TOKEN
17+
tagRelease $tag || echo "Tag update failed, likely already exists"

0 commit comments

Comments
 (0)