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:
Mike
2017-01-08 19:42:46 +01:00
committed by GitHub
parent d62dbd48ae
commit 03cc3a1ad2
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}
}
}