Is there a some sort of OnBuild() event for the editor?

My game is currently being distributed in a lot of different versions every once in a while.
I would like to know if there is a sort of event, or callback (I don’t really know the difference, so if someone could point that out in a comment it’d be great!) that is called once you press the ‘build’ button in the build options window.
I wish to use this to ask some ‘questions’ like the version number and changelog. That would streamline the build process immensely!
If there isn’t such an event, any ideas how to do this sort of timing?

P.S. I can figure out all of the editor stuff; I really just need to know the correct trigger.

Use Grahams suggestion on the page:

Of course this is two years old and better answers may exist.