Consider both beta and rc versions to be `IS_RELEASE == false`.

This commit is contained in:
Nathan Wilcox 2017-05-22 20:42:00 -07:00
parent 92333721e5
commit 187e64c7ab
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ def _patch_build_defs(release, path, pattern):
'REVISION': release.patch,
'BUILD': release.build,
'IS_RELEASE': (
'false' if release.betarc == 'beta' else 'true'
'false' if release.build < 50 else 'true'
),
}[label]
outf.write('{} {}{}\n'.format(prefix, repl, suffix))