automation: add extra arguments when building Inno stable
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 24 Apr 2020 11:48:07 -0700
branchstable
changeset 44755 47609da15379
parent 44754 9ade217b550d
child 44756 802ee93c205d
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
contrib/automation/hgautomation/windows.py
--- 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"
 }}