From 44bbecaff3652aeb9b9eb73c79f82ecf6a698b02 Mon Sep 17 00:00:00 2001 From: Holger Schmermbeck Date: Mon, 30 Jan 2023 00:25:52 +0100 Subject: [PATCH] fix missing github branch-based archiveUrl host (#422) --- .../GithubRepositoryTypes/GithubBranchType.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SourceRepositoryTypes/GithubRepositoryTypes/GithubBranchType.php b/src/SourceRepositoryTypes/GithubRepositoryTypes/GithubBranchType.php index eeafe03..1f85ecb 100644 --- a/src/SourceRepositoryTypes/GithubRepositoryTypes/GithubBranchType.php +++ b/src/SourceRepositoryTypes/GithubRepositoryTypes/GithubBranchType.php @@ -111,7 +111,8 @@ final public function getReleases(): Response private function generateArchiveUrl(string $name): string { - return DIRECTORY_SEPARATOR.'repos' + return self::BASE_URL + .DIRECTORY_SEPARATOR.'repos' .DIRECTORY_SEPARATOR.$this->config['repository_vendor'] .DIRECTORY_SEPARATOR.$this->config['repository_name'] .DIRECTORY_SEPARATOR.'zipball'