lib/GitHub/Receiver/Repositories/Releases.php
public function listReleases(): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/releases',
            $this->getRepositories()->getOwner(), $this->getRepositories()->getRepo()));
    }
public function listReleases(): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/releases',
            $this->getRepositories()->getOwner(), $this->getRepositories()->getRepo()));
    }
public function listReleases ( ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/releases' , $ this -> getRepositories ( ) -> getOwner ( ) , $ this -> getRepositories ( ) -> getRepo ( ) ) ) ; }
List releases for a repository

@link https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository
@return array
List releases for a repository