microsoft / beachball

The Sunniest Semantic Version Bumper

Home Page:https://microsoft.github.io/beachball

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beacball publish process failure due to git fail fast

viditganpi opened this issue · comments

The publish step of beachball has a few instances of gitFailFast which are not enclosed under any error handling, this leads to failure of the overall process in case gitFailFast command fails.
For example: Here branch deletion sometime results in error, thus failing the overall process.
This can be handled for error and will fix the overall process.

Do you have any idea why the branch deletion is failing for you? It's only a local operation, so it should be very unlikely to fail.

Not entirely sure, as there is no detailed log but have seen the overall process fail after the step and since there is no error handling for this my best guess is that something fails during deletion.

On failure, gitFailFast should log CRITICAL ERROR: running git command followed by the actual stdout/stderr, so any error should be visible in the logs.