Show More
@@ -73,7 +73,8 b' def build_windows_wheel(hga: HGAutomatio' | |||
|
73 | 73 | windows.build_wheel(instance.winrm_client, a, DIST_PATH) |
|
74 | 74 | |
|
75 | 75 | |
|
76 |
def build_all_windows_packages(hga: HGAutomation, aws_region, revision |
|
|
76 | def build_all_windows_packages(hga: HGAutomation, aws_region, revision, | |
|
77 | version): | |
|
77 | 78 | c = hga.aws_connection(aws_region) |
|
78 | 79 | image = aws.ensure_windows_dev_ami(c) |
|
79 | 80 | DIST_PATH.mkdir(exist_ok=True) |
@@ -89,9 +90,11 b' def build_all_windows_packages(hga: HGAu' | |||
|
89 | 90 | windows.purge_hg(winrm_client) |
|
90 | 91 | windows.build_wheel(winrm_client, arch, DIST_PATH) |
|
91 | 92 | windows.purge_hg(winrm_client) |
|
92 |
windows.build_inno_installer(winrm_client, arch, DIST_PATH |
|
|
93 | windows.build_inno_installer(winrm_client, arch, DIST_PATH, | |
|
94 | version=version) | |
|
93 | 95 | windows.purge_hg(winrm_client) |
|
94 |
windows.build_wix_installer(winrm_client, arch, DIST_PATH |
|
|
96 | windows.build_wix_installer(winrm_client, arch, DIST_PATH, | |
|
97 | version=version) | |
|
95 | 98 | |
|
96 | 99 | |
|
97 | 100 | def terminate_ec2_instances(hga: HGAutomation, aws_region): |
@@ -149,6 +152,10 b' def get_parser():' | |||
|
149 | 152 | help='Mercurial revision to build', |
|
150 | 153 | default='.', |
|
151 | 154 | ) |
|
155 | sp.add_argument( | |
|
156 | '--version', | |
|
157 | help='Mercurial version string to use', | |
|
158 | ) | |
|
152 | 159 | sp.set_defaults(func=build_all_windows_packages) |
|
153 | 160 | |
|
154 | 161 | sp = subparsers.add_parser( |
General Comments 0
You need to be logged in to leave comments.
Login now