platformsh/legacy-cli

Platform push don't throw errors during process

Opened this issue · 1 comments

Hi!
The main problem that when you call platform push, and during the process something fails, this script doesn't throw error.
As you can see on the screenshots, usually, scripts throw errors.

1
2

Yes. The issue is that the "push" succeeded even though the subsequent deployment didn't. Currently the platform push command passes through the exit status from git push. Perhaps the git API would need to implement some kind of feature to report the deployment failure via the git exit status.