setup configs for related repositories build, some fix in release script