forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
940 stars 397 forks source link

chore: add --skip-duplicate flag in Publish workflows to fail silently if version already exists #5592

Closed daphne-sfdc closed 1 month ago

daphne-sfdc commented 1 month ago

Adds the --skip-duplicate flag to the commands in the Publish to Microsoft Marketplace and Publish to Open VSX Registry workflows so that they fail silently if the version being published already exists.

This is needed to handle the case where the Publish workflow fails halfway through, with some extensions published and some not published. The extensions are always published in the same order, so we want to be able to publish the remaining extensions during a rerun and not be blocked by fail-fast.

@W-15437641@