Configure Woo Subscriptions versions for Circle CI
[MAILPOET-3471]
This commit is contained in:
committed by
Veljko V
parent
01ef570c42
commit
726cbf4679
@ -38,7 +38,7 @@ class GithubClient {
|
||||
}
|
||||
|
||||
private function getRelease($tag = null) {
|
||||
$path = 'releases/' . ($tag ? "tags/$tag" : 'latest');
|
||||
$path = 'releases/' . ($tag && $tag !== 'latest' ? "tags/$tag" : 'latest');
|
||||
$response = $this->httpClient->get($path);
|
||||
return json_decode($response->getBody()->getContents(), true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user