installer: automatic versioning scheme

This commit is contained in:
Bill Zissimopoulos
2016-04-28 21:51:29 -07:00
parent acfd02c31d
commit 5a7c7bb4f2
3 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--
MyVersion contains the current product version. The major and minor parts should be
changed manually when appropriate. The build number is automatically calculated as
the concatenation of the year and the day of the year.
The MyVersion variable is used to compute the OutputName property in the wixproj as
well as define the MyVersion Wix preprocessor constant, which is used to set the
Version in the Product.wxs
-->
<MyVersion>0.9.$([System.DateTime]::Now.ToString(`yy`))$([System.DateTime]::Now.DayOfYear.ToString(`000`))</MyVersion>
</PropertyGroup>
</Project>