include publish.js in version deployment process