Mercurial > hg
changeset 44173:62111bc5ff87 stable
wix: use original version string for MSI filename
Version string normalization is mostly to placate MSI requirements.
I think it makes sense to use the original version string in
filenames.
Since we can have distinct versions normalizing to the same MSI
version string, this will allow us to distinguish between different
actual version strings based on the filename.
Differential Revision: https://phab.mercurial-scm.org/D8005
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 24 Jan 2020 20:27:59 -0800 |
parents | 2251b6cde170 |
children | 9e367157a990 |
files | contrib/packaging/hgpackaging/wix.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/packaging/hgpackaging/wix.py Fri Jan 24 20:24:29 2020 -0800 +++ b/contrib/packaging/hgpackaging/wix.py Fri Jan 24 20:27:59 2020 -0800 @@ -475,7 +475,7 @@ run_candle(wix_path, build_dir, source, source_build_rel, defines=defines) msi_path = ( - source_dir / 'dist' / ('%s-%s-%s.msi' % (msi_name, version, arch)) + source_dir / 'dist' / ('%s-%s-%s.msi' % (msi_name, orig_version, arch)) ) args = [