mirror of https://github.com/Radarr/Radarr
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
|
@ -161,7 +161,8 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
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");
|
||||
|
||||
|
|
|
@ -28,8 +28,7 @@ namespace NzbDrone.Core.Update
|
|||
|
||||
public UpdatePackage AvailableUpdate()
|
||||
{
|
||||
//For new let's just use develop, afterwards we can change it back to the config: _configFileProvider.Branch
|
||||
return _updatePackageProvider.GetLatestUpdate("develop", BuildInfo.Version);
|
||||
return _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue