mirror of
https://github.com/google/gtm-session-fetcher
synced 2026-11-09 22:25:56 +05:45
Update the script for the reformatted file.
This commit is contained in:
1 parent
0872ae27aa
commit
fca5ef8048
1 file changed
+2
-2
+2
-2
@@ -45,8 +45,8 @@ def main(args):
|
||||
# Module.bazel
|
||||
module_content = open(_MODULE_bazel_PATH).read()
|
||||
module_content = re.sub(
|
||||
r'module\(name = "gtm_session_fetcher", version = "\d+\.\d+\.\d+"\)',
|
||||
'module(name = "gtm_session_fetcher", version = "%s")' % (ver_str,),
|
||||
r'module\(\n name = "gtm_session_fetcher",\n version = "\d+\.\d+\.\d+",',
|
||||
'module(\n name = "gtm_session_fetcher",\n version = "%s",' % (ver_str,),
|
||||
module_content)
|
||||
assert ver_str in module_content
|
||||
open(_MODULE_bazel_PATH, 'w').write(module_content)
|
||||
|
||||
Reference in new issue
Block a user