Merge pull request #6857 from johnbeisner/RuntimeCoherence

Enable creation and consumption of a 'coherent' pointer
This commit is contained in:
jbeisner 2017-06-15 10:22:40 -07:00 committed by GitHub
commit add33234a5
5 changed files with 103 additions and 26 deletions

View file

@ -31,6 +31,8 @@ namespace Microsoft.DotNet.Cli.Build
[Required]
public string NugetVersion { get; set; }
public bool Coherent { get; set; }
private AzurePublisher AzurePublisherTool
{
get
@ -81,6 +83,10 @@ namespace Microsoft.DotNet.Cli.Build
string cliVersion = Utils.GetVersionFileContent(CommitHash, NugetVersion);
AzurePublisherTool.PublishStringToBlob($"{targetFolder}/latest.version", cliVersion);
if (Coherent == true)
{
AzurePublisherTool.PublishStringToBlob($"{targetFolder}/latest.coherent.version", cliVersion);
}
}
finally
{