update env vars in DorkBuild
This commit is contained in:
parent
fd26be75f9
commit
012aa6f2a7
|
|
@ -19,17 +19,17 @@ default DNX_TOOLS_FEED = 'https://www.myget.org/F/dnxtools/api/v3/index.json'
|
||||||
default NUGET_FEED = 'https://api.nuget.org/v3/index.json'
|
default NUGET_FEED = 'https://api.nuget.org/v3/index.json'
|
||||||
|
|
||||||
@{
|
@{
|
||||||
if (string.IsNullOrEmpty(E("DNX_BUILD_VERSION")))
|
if (string.IsNullOrEmpty(E("DOTNET_BUILD_VERSION")))
|
||||||
{
|
{
|
||||||
E("DNX_BUILD_VERSION", BuildNumber);
|
E("DOTNET_BUILD_VERSION", BuildNumber);
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(E("DNX_AUTHOR")))
|
if (string.IsNullOrEmpty(E("DOTNET_AUTHOR")))
|
||||||
{
|
{
|
||||||
E("DNX_AUTHOR", AUTHORS);
|
E("DOTNET_AUTHOR", AUTHORS);
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(E("DNX_ASSEMBLY_FILE_VERSION")))
|
if (string.IsNullOrEmpty(E("DOTNET_ASSEMBLY_FILE_VERSION")))
|
||||||
{
|
{
|
||||||
E("DNX_ASSEMBLY_FILE_VERSION", CreateDayBasedVersionNumber());
|
E("DOTNET_ASSEMBLY_FILE_VERSION", CreateDayBasedVersionNumber());
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(Configuration))
|
if (string.IsNullOrEmpty(Configuration))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue