A Scottish brewer has announced a three-year deal to become the official beer partner for Edinburgh’s Christmas and Hogmanay.