Cleanup - extract ci/publish script