Use K_BUILD_VERSION in Universe if specified.

This commit is contained in:
Pranav K 2014-06-22 06:17:39 -07:00
parent 0023eac56b
commit 4b5b85a2ac
1 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
var PROJECT='AspNet'
var VERSION='0.2.1-dev'
var VERSION='0.2.1'
use namespace='System'
use namespace='System.IO'
@ -44,7 +44,15 @@ var repos='${new Dictionary<string,string> {
}}'
@{
VERSION += "-" + BuildNumber;
var kBuildVersion = Environment.GetEnvironmentVariable("K_BUILD_VERSION");
if (!string.IsNullOrEmpty(kBuildVersion))
{
VERSION += "-" + kBuildVersion;
}
else
{
VERSION += "-" + BuildNumber;
}
}
#default .compile