Skip to content

Commit 44bbeca

Browse files
authored
fix missing github branch-based archiveUrl host (#422)
1 parent 606707d commit 44bbeca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SourceRepositoryTypes/GithubRepositoryTypes/GithubBranchType.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ final public function getReleases(): Response
111111

112112
private function generateArchiveUrl(string $name): string
113113
{
114-
return DIRECTORY_SEPARATOR.'repos'
114+
return self::BASE_URL
115+
.DIRECTORY_SEPARATOR.'repos'
115116
.DIRECTORY_SEPARATOR.$this->config['repository_vendor']
116117
.DIRECTORY_SEPARATOR.$this->config['repository_name']
117118
.DIRECTORY_SEPARATOR.'zipball'

0 commit comments

Comments
 (0)