Poor error message when hook command fails
mo8it opened this issue · 0 comments
mo8it commented
I used a script as a hook command:
pre-release-hook = ["./release-hook.sh"]
Then I got the error:
error: Permision denied (os error 13)
(something similar in red, I don't remember the exact wording
For a first-time user of cargo-release
, it took me a while to realize that the permission error is caused by the hook. I just had to run chmod u+x release-hook.sh
.
Providing the origin of an error would be awesome 🥰