Add option of notifyReleaseStages

Hi,

Could you consider to merge this change?
I think we can have an option to choose which release stage should notify the error.