Add release hook feature

How?