Consider both beta and rc versions to be IS_RELEASE == false.
This commit is contained in:
@@ -279,7 +279,7 @@ def _patch_build_defs(release, path, pattern):
|
|||||||
'REVISION': release.patch,
|
'REVISION': release.patch,
|
||||||
'BUILD': release.build,
|
'BUILD': release.build,
|
||||||
'IS_RELEASE': (
|
'IS_RELEASE': (
|
||||||
'false' if release.betarc == 'beta' else 'true'
|
'false' if release.build < 50 else 'true'
|
||||||
),
|
),
|
||||||
}[label]
|
}[label]
|
||||||
outf.write('{} {}{}\n'.format(prefix, repl, suffix))
|
outf.write('{} {}{}\n'.format(prefix, repl, suffix))
|
||||||
|
|||||||
Reference in New Issue
Block a user