Actually i want to execute a functionality every time a developer publishes customizations. Hence, can we write any custom logic on click of "Publish entity" or "Publish All Customizations" buttons. OOB or un supported way either?
Its not a business requirement, its more of a streamlining code development process in the team.