Commit ab05947
fix: gate VS extension job and harden marketplace version check in release workflow
- Add job-level \if\ to \�uild-visualstudio\ so it only runs on tag pushes
or when \�s_only == true\; manual VS Code-only releases no longer trigger
the expensive VS extension build
- Fix null-array panic in the VS Marketplace version check: safely dereference
\�xtensions[0]\ before accessing \.versions\, treating a missing extension
as a first-publish instead of falling through to the catch block
- Change the catch block from warn-and-proceed to hard-fail so a failed
Marketplace query can no longer silently allow a duplicate-version publish
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a2c70e5 commit ab05947
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| |||
587 | 589 | | |
588 | 590 | | |
589 | 591 | | |
590 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
591 | 598 | | |
592 | 599 | | |
593 | 600 | | |
| |||
599 | 606 | | |
600 | 607 | | |
601 | 608 | | |
602 | | - | |
| 609 | + | |
| 610 | + | |
603 | 611 | | |
604 | 612 | | |
605 | 613 | | |
| |||
0 commit comments