protected function getRepositoryReleases()
    {
        if (empty($this->config['repository_vendor']) || empty($this->config['repository_name'])) {
            throw new \Exception('No repository specified. Please enter a valid Github repository owner and name in your config.');
        }

        return $this->client->request(
            'GET',
            self::GITHUB_API_URL.'/repos/'.$this->config['repository_vendor'].'/'.$this->config['repository_name'].'/tags'
        );
    }
protected function getRepositoryReleases()
    {
        if (empty($this->config['repository_vendor']) || empty($this->config['repository_name'])) {
            throw new \Exception('No repository specified. Please enter a valid Github repository owner and name in your config.');
        }

        return $this->client->request(
            'GET',
            self::GITHUB_API_URL.'/repos/'.$this->config['repository_vendor'].'/'.$this->config['repository_name'].'/tags'
        );
    }
protected function getRepositoryReleases ( ) { if ( empty ( $ this -> config [ 'repository_vendor' ] ) || empty ( $ this -> config [ 'repository_name' ] ) ) { throw new \ Exception ( 'No repository specified. Please enter a valid Github repository owner and name in your config.' ) ; } return $ this -> client -> request ( 'GET' , self :: GITHUB_API_URL . '/repos/' . $ this -> config [ 'repository_vendor' ] . '/' . $ this -> config [ 'repository_name' ] . '/tags' ) ; }
Get all releases for a specific repository.

@throws \Exception

@return mixed|\Psr\Http\Message\ResponseInterface
Get all releases for a specific repository .