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

21 lines
606 B
C#
Raw Normal View History

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
2016-02-02 18:04:50 +00:00
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
}
}