From c598f1918d12278f19056b9c0c727a17626c119d Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Fri, 3 Mar 2017 10:07:49 -0800 Subject: [PATCH] Collect commit files from artifacts directory --- makefile.shade | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/makefile.shade b/makefile.shade index a60d9c6405..bbdd72ab53 100644 --- a/makefile.shade +++ b/makefile.shade @@ -262,13 +262,10 @@ var buildProperties = "/p:Configuration=Debug" File.Copy(source, Path.Combine(universeBuild, Path.GetFileName(source)), overwrite: true); } - if (Environment.GetEnvironmentVariable("KOREBUILD_ADD_ASSEMBLY_INFO") == "1") + var commitFile = Path.Combine(repoArtifacts, "commit"); + if (File.Exists(commitFile)) { - var commitFile = Path.Combine(repoArtifacts, "commit"); - if (File.Exists(commitFile)) - { - commits.TryAdd(repo, File.ReadAllLines(commitFile)[0]); - } + commits.TryAdd(repo, File.ReadAllLines(commitFile)[0]); } if (!string.IsNullOrEmpty(ciVolatileShare))