Merge pull request #2698 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2017-06-10 12:40:19 -04:00 committed by GitHub
commit 4fa170ab08
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ namespace MediaBrowser.Common.Updates
} }
else if (updateLevel == PackageVersionClass.Beta) else if (updateLevel == PackageVersionClass.Beta)
{ {
obj = obj.Where(i => !i.prerelease || i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase)).ToArray(); obj = obj.Where(i => i.prerelease && i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase)).ToArray();
} }
else if (updateLevel == PackageVersionClass.Dev) else if (updateLevel == PackageVersionClass.Dev)
{ {
@ -81,7 +81,7 @@ namespace MediaBrowser.Common.Updates
{ {
if (updateLevel == PackageVersionClass.Beta) if (updateLevel == PackageVersionClass.Beta)
{ {
return !i.prerelease || i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase); return i.prerelease && i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase);
} }
if (updateLevel == PackageVersionClass.Dev) if (updateLevel == PackageVersionClass.Dev)
{ {

View File

@ -1,3 +1,3 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.2.19.7")] [assembly: AssemblyVersion("3.2.19.8")]