Skip to content

Conversation

@koesie10
Copy link
Member

We were ignoring errors coming from vsce publish and this was causing the workflow to succeed even when the publish failed. This will remove the || and let the workflow fail if the publish fails.

@aeisenberg I've requested your review because you originally added this step in #716, so you might have additional context on why this was necessary.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

We were ignoring errors coming from `vsce publish` and this was causing
the workflow to succeed even when the publish failed. This will remove
the `||` and let the workflow fail if the publish fails.
@koesie10 koesie10 requested a review from aeisenberg March 29, 2023 10:58
@koesie10 koesie10 requested a review from a team as a code owner March 29, 2023 10:58
Copy link
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. I don't think the message is particularly useful.

@koesie10 koesie10 merged commit 0bf0127 into main Mar 29, 2023
@koesie10 koesie10 deleted the koesie10/fail-vsce-workflow-on-failure branch March 29, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants