2016-02-02 18:04:50 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Runtime.InteropServices;
|
2016-03-09 03:32:31 +00:00
|
|
|
|
using System.Security.Cryptography;
|
2016-02-02 18:04:50 +00:00
|
|
|
|
|
2016-04-25 20:17:46 +00:00
|
|
|
|
using Microsoft.DotNet.Cli.Build.Framework;
|
|
|
|
|
|
2016-02-02 18:04:50 +00:00
|
|
|
|
namespace Microsoft.DotNet.Cli.Build
|
|
|
|
|
{
|
|
|
|
|
public static class Utils
|
|
|
|
|
{
|
2016-05-12 00:20:40 +00:00
|
|
|
|
public static string GetVersionFileContent(string commitHash, string version)
|
|
|
|
|
{
|
|
|
|
|
return $@"{commitHash}{Environment.NewLine}{version}{Environment.NewLine}";
|
|
|
|
|
}
|
2016-02-02 18:04:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|