pyoxidizer: add arch to PyOxidizer MSIs stable
authorGregory Szorc <gregory.szorc@gmail.com>
Thu, 26 Aug 2021 21:40:21 -0700
branchstable
changeset 47870 3962503cd1e8
parent 47869 07f3f154e03a
child 47871 86a60679cf61
pyoxidizer: add arch to PyOxidizer MSIs This is the proper filename pattern. This filename format wasn't properly implemented when PyOxidizer took over Python 3 MSI generation in 603efb3845ba. Differential Revision: https://phab.mercurial-scm.org/D11359
rust/hgcli/pyoxidizer.bzl
--- a/rust/hgcli/pyoxidizer.bzl	Thu Aug 26 20:05:12 2021 -0700
+++ b/rust/hgcli/pyoxidizer.bzl	Thu Aug 26 21:40:21 2021 -0700
@@ -255,7 +255,11 @@
         path = "defaultrc/editor.rc",
     )
 
-    wix = WiXInstaller("hg", "%s-%s.msi" % (MSI_NAME, VERSION), arch = platform)
+    wix = WiXInstaller(
+        "hg",
+        "%s-%s-%s.msi" % (MSI_NAME, VERSION, platform),
+        arch = platform,
+    )
 
     # Materialize files in the manifest to the install layout.
     wix.add_install_files(manifest)