Liquid-cooled battery production