version.py: Fix replacement in version.bzl

Change-Id: Ifca0a32a922a4bbce7b34069802c1f32ea00f23f
This commit is contained in:
David Pursehouse 2017-03-23 21:10:58 +09:00
parent 535acb1723
commit 24068fcb0a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ for project in ['gerrit-acceptance-framework', 'gerrit-extension-api',
pom = os.path.join(project, 'pom.xml')
replace_in_file(pom, src_pattern)
src_pattern = re.compile(r"^(GERRIT_VERSION = ')([-.\w]+)(')$", re.MULTILINE)
src_pattern = re.compile(r'^(GERRIT_VERSION = ")([-.\w]+)(")$', re.MULTILINE)
replace_in_file('version.bzl', src_pattern)
src_pattern = re.compile(r'^(\s*-DarchetypeVersion=)([-.\w]+)(\s*\\)$',