diff contrib/automation/hgautomation/windows.py @ 44770:47609da15379 stable

automation: add extra arguments when building Inno These were being fed into the template expansion but not being used. This meant --version was not getting set when it should have been. Differential Revision: https://phab.mercurial-scm.org/D8482
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 24 Apr 2020 11:48:07 -0700
parents 9ade217b550d
children 802ee93c205d
line wrap: on
line diff
--- a/contrib/automation/hgautomation/windows.py	Thu Apr 23 18:48:36 2020 -0700
+++ b/contrib/automation/hgautomation/windows.py	Fri Apr 24 11:48:07 2020 -0700
@@ -71,7 +71,7 @@
 BUILD_INNO = r'''
 Set-Location C:\hgdev\src
 $python = "C:\hgdev\python27-{arch}\python.exe"
-C:\hgdev\python37-x64\python.exe contrib\packaging\packaging.py inno --python $python
+C:\hgdev\python37-x64\python.exe contrib\packaging\packaging.py inno --python $python {extra_args}
 if ($LASTEXITCODE -ne 0) {{
     throw "process exited non-0: $LASTEXITCODE"
 }}