mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
SDA-2389 Added version number to installer
This commit is contained in:
parent
7d5f7b0c6d
commit
060afd0a0b
@ -103,9 +103,12 @@ class Script
|
|||||||
new LaunchCondition("VersionNT>=600 AND WindowsBuild>=6001", "OS not supported")
|
new LaunchCondition("VersionNT>=600 AND WindowsBuild>=6001", "OS not supported")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// The build script which calls the wix# builder, will be run from a command environment which has %SYMVER% set.
|
||||||
|
// So we just extract that version string, create a Version object from it, and pass it to out project definition.
|
||||||
|
var version = System.Environment.GetEnvironmentVariable("SYMVER");
|
||||||
|
project.Version = new System.Version(version);
|
||||||
|
|
||||||
// Generate an MSI from all settings done above
|
// Generate an MSI from all settings done above
|
||||||
Compiler.BuildMsi(project);
|
Compiler.BuildMsi(project);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user