mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
Merge pull request #1060 from mattias-symphony/SDA-2389
feat: SDA-2389 Added version number to installer
This commit is contained in:
commit
020ed0f54f
@ -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