Collect commit files from artifacts directory
This commit is contained in:
parent
ba69cd5df4
commit
c598f1918d
|
|
@ -262,13 +262,10 @@ var buildProperties = "/p:Configuration=Debug"
|
||||||
File.Copy(source, Path.Combine(universeBuild, Path.GetFileName(source)), overwrite: true);
|
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");
|
commits.TryAdd(repo, File.ReadAllLines(commitFile)[0]);
|
||||||
if (File.Exists(commitFile))
|
|
||||||
{
|
|
||||||
commits.TryAdd(repo, File.ReadAllLines(commitFile)[0]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(ciVolatileShare))
|
if (!string.IsNullOrEmpty(ciVolatileShare))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue