Don't fail if a repo does not have commit file
This commit is contained in:
parent
2c9672f18a
commit
8a2c0ecec1
|
|
@ -248,11 +248,6 @@ var buildTarget = "compile"
|
|||
if (Environment.GetEnvironmentVariable("KOREBUILD_ADD_ASSEMBLY_INFO") == "1")
|
||||
{
|
||||
var commitFile = Path.Combine(repoArtifacts, "commit");
|
||||
if (!File.Exists(commitFile))
|
||||
{
|
||||
throw new FileNotFoundException("Couldn't find the commit file for " + repo + ": " + commitFile);
|
||||
}
|
||||
|
||||
commits.TryAdd(repo, File.ReadAllLines(commitFile)[0]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue