@@ 66-77 (lines=12) @@ | ||
63 | /** |
|
64 | * {@inheritdoc} |
|
65 | */ |
|
66 | public function generateReleaseUrl($sourceUrl, Version $version) |
|
67 | { |
|
68 | if ($version->isDev()) { |
|
69 | return false; |
|
70 | } |
|
71 | ||
72 | return sprintf( |
|
73 | '%s/releases/tag/%s', |
|
74 | $this->generateBaseUrl($sourceUrl), |
|
75 | $version->getPretty() |
|
76 | ); |
|
77 | } |
|
78 | } |
|
79 |
@@ 67-78 (lines=12) @@ | ||
64 | /** |
|
65 | * {@inheritdoc} |
|
66 | */ |
|
67 | public function generateReleaseUrl($sourceUrl, Version $version) |
|
68 | { |
|
69 | if ($version->isDev()) { |
|
70 | return false; |
|
71 | } |
|
72 | ||
73 | return sprintf( |
|
74 | '%s/tags/%s', |
|
75 | $this->generateBaseUrl($sourceUrl), |
|
76 | $version->getPretty() |
|
77 | ); |
|
78 | } |
|
79 | } |
|
80 |