Skip to content

Commit

Permalink
fix release asset URI
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Oct 3, 2016
1 parent ed89958 commit 85fab50
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/GitHub_Updater/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,12 @@ protected function make_release_asset_download_link() {
case 'gitlab_plugin':
case 'gitlab_theme':
$download_link = implode( '/', array(
'https://gitlab.com',
$this->type->owner,
$this->type->repo,
'https://gitlab.com/api/v3/projects',
urlencode( $this->type->owner . '/' . $this->type->repo ),
'builds/artifacts',
$this->type->newest_tag,
'download',
));
) );
$download_link = add_query_arg( 'job', $this->type->ci_job, $download_link );
break;
}
Expand Down

0 comments on commit 85fab50

Please sign in to comment.