You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `|| echo "Version may already exist, skipping"` fallback masked
genuine vsce/ovsx failures (reserved name, reserved displayName, auth),
leaving the workflow green while nothing published. Replace it with a
version pre-check: skip publishing only when that exact version is
already on the registry (vsce show / Open VSX API), and let any other
failure fail the job.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
if vsce show "$EXT" --json 2>/dev/null | node -e "const v=require('fs').readFileSync(0,'utf8'); let j; try{j=JSON.parse(v)}catch{process.exit(1)} process.exit((j.versions||[]).some(x=>x.version===process.argv[1])?0:1)" "$VERSION"; then
94
+
echo "::notice::$EXT@$VERSION already on VS Marketplace, skipping publish"
0 commit comments