Index: tools/release/common_includes.py |
diff --git a/tools/release/common_includes.py b/tools/release/common_includes.py |
index 0857ea069a346b36e1ad594d5901df6111793174..ee8c0f72663f3db8f0c2bb2fd81e44cde8c3988f 100644 |
--- a/tools/release/common_includes.py |
+++ b/tools/release/common_includes.py |
@@ -682,6 +682,9 @@ class Step(GitRecipesMixin): |
line = re.sub("\d+$", self[prefix + "build"], line) |
elif line.startswith("#define PATCH_LEVEL"): |
line = re.sub("\d+$", self[prefix + "patch"], line) |
+ elif (self[prefix + "candidate"] and |
+ line.startswith("#define IS_CANDIDATE_VERSION")): |
+ line = re.sub("\d+$", self[prefix + "candidate"], line) |
output += "%s\n" % line |
TextToFile(output, version_file) |