[BUILD] Fixed release notes script to work with github API again