Skip to content

Commit 0beb569

Browse files
committed
Remove github zip/tarball links
1 parent c3ebfed commit 0beb569

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/DownloadLinkFetcher.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,8 @@ public function getLinksForTag(string $tag): array {
1919
}
2020
}
2121

22-
$sourceLinks = $this->getSourceLinks($tag);
23-
$return['zip'] = ['url' => $sourceLinks['zip']];
24-
$return['tar'] = ['url' => $sourceLinks['tar']];
25-
2622
return $return;
2723
}
28-
private function getSourceLinks(string $tag): array {
29-
return [
30-
'zip' => 'https://api.github.com/repos/php/php-src/zipball/refs/tags/' . $tag,
31-
'tar' => 'https://api.github.com/repos/php/php-src/tarball/refs/tags/' . $tag,
32-
];
33-
}
3424

3525
private function getWindowsLinks(string $tag): array {
3626
$folder = 'releases/archives';

0 commit comments

Comments
 (0)