mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Revert "Changes the query string parameter sha
to ref
to reflect the GitLab API"
Fixes #6344, refs #6198
This reverts commit 8a496cd2a7
.
This commit is contained in:
parent
72616a9635
commit
be201924cd
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ class GitLabDriver extends VcsDriver
|
|||
*/
|
||||
public function getDist($identifier)
|
||||
{
|
||||
$url = $this->getApiUrl().'/repository/archive.zip?ref='.$identifier;
|
||||
$url = $this->getApiUrl().'/repository/archive.zip?sha='.$identifier;
|
||||
|
||||
return array('type' => 'zip', 'url' => $url, 'reference' => $identifier, 'shasum' => '');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue