Also while exludebuild workaround exists for building I am not aware of any workaround for 'publish' and 'use for build'.