dotnet-installer/build_projects/shared-build-targets-utils/Utils/Utils.cs

18 lines
431 B
C#
Raw Normal View History

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
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
}
}