mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
Fix changelog link when preview update branches are enabled (#1314)
This commit is contained in:
1 parent
a02b1b32fe
commit
6f2cedbb2c
1 file changed
+2
-2
@@ -81,8 +81,8 @@ class Update implements InjectionAwareInterface
|
||||
$branch = (in_array($branch, ['release', 'preview'])) ? $branch : 'release';
|
||||
|
||||
if ($branch === 'preview') {
|
||||
$latestReleaseVersion = $this->getLatestVersionInfo('release')['version'];
|
||||
$compareLink = "https://github.com/FOSSBilling/FOSSBilling/compare/{$latestReleaseVersion}...main";
|
||||
$currentVersion = Version::VERSION;
|
||||
$compareLink = "https://github.com/FOSSBilling/FOSSBilling/compare/{$currentVersion}...main";
|
||||
$downloadUrl = 'https://fossbilling.org/downloads/preview/';
|
||||
|
||||
return [
|
||||
|
||||
Reference in new issue
Block a user