Last I used sqitch, it returned a zero value on error, which made me leery of using it for scripted deployments.
[1] https://github.com/naquad/shmig