mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Change default branch in config. (#63)
* Change Sonarr / NzbDrone auto-updater stuff to Radarr. This is required in order for the auto-updater to work. * Change default branch to develop instead of forcing it.
This commit is contained in:
parent
d62dbd48ae
commit
03cc3a1ad2
2 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,8 @@ namespace NzbDrone.Core.Configuration
|
||||||
|
|
||||||
public bool AnalyticsEnabled => GetValueBoolean("AnalyticsEnabled", true, persist: false);
|
public bool AnalyticsEnabled => GetValueBoolean("AnalyticsEnabled", true, persist: false);
|
||||||
|
|
||||||
public string Branch => GetValue("Branch", "master").ToLowerInvariant();
|
// TODO: Change back to "master" for the first stable release.
|
||||||
|
public string Branch => GetValue("Branch", "develop").ToLowerInvariant();
|
||||||
|
|
||||||
public string LogLevel => GetValue("LogLevel", "Info");
|
public string LogLevel => GetValue("LogLevel", "Info");
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,7 @@ namespace NzbDrone.Core.Update
|
||||||
|
|
||||||
public UpdatePackage AvailableUpdate()
|
public UpdatePackage AvailableUpdate()
|
||||||
{
|
{
|
||||||
//For new let's just use develop, afterwards we can change it back to the config: _configFileProvider.Branch
|
return _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
|
||||||
return _updatePackageProvider.GetLatestUpdate("develop", BuildInfo.Version);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue