When vsce publish fails, version still gets bumped #187
Labels
bug
Issue identified by VS Code Team member as probable bug
help wanted
Issues identified as good community contribution opportunities
released
Milestone
When running
vsce publish <major|minor|patch>
and something goes wrong, e.g.vscode:prepublish
throwing an error, the version numbers still get bumped.Example:
Note that after the first publish command, the version gets bumped to
1.0.0
. After fixing the error that caused prepublish script to exit, the version gets bumped to2.0.0
. The expected behaviour is to bump to 1.0.0, since it failed earlier.I should also mention, that the version in
package.json
remains unchanged after the failed publish command.The text was updated successfully, but these errors were encountered: