Factor out version into independent module, more publish steps