mirror of
https://github.com/Radarr/Radarr
synced 2025-12-13 20:05:11 +01: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 @@ public AuthenticationType AuthenticationMethod
|
|||
|
||||
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 @@ public CheckUpdateService(IUpdatePackageProvider updatePackageProvider,
|
|||
|
||||
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 a new issue