Fix for self-awareness about UNSTABLE / Release

This commit is contained in:
RKrom 2014-06-17 14:33:33 +02:00
commit c6bd67ce4b
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ namespace Greenshot.Experimental {
// the current version is a release or release candidate AND check unstable is turned off.
if (rssFile.isUnstable) {
// Skip if we shouldn't check unstables
if ((conf.BuildState == BuildStates.RELEASE || conf.BuildState == BuildStates.RELEASE_CANDIDATE) && !conf.CheckForUnstable) {
if ((conf.BuildState == BuildStates.RELEASE) && !conf.CheckForUnstable) {
continue;
}
}