use CORE_BRANCH for upload dirs too