public function doesTagExist($target, $tagName)
    {
        $res = $this->client->get(sprintf(
            self::GITHUB_RELEASES_ENDPOINT,
            $this->cleanTarget($target), $tagName
        ), [
            'http_errors' => false,
            'auth' => [null, $this->token]
        ]);

        return ($res->getStatusCode() === 200);
    }