Skip to content

Commit

Permalink
change to random file name for incremental. (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
vwxyzh authored Sep 27, 2016
1 parent baf2bdb commit 65714b7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Microsoft.DocAsCode.Build.Engine/SingleDocumentBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,16 @@ private Manifest BuildCore(DocumentBuildParameters parameters)
{
string configHash = ComputeConfigHash(parameters);
var fileAttributes = ComputeFileAttributes(parameters);
var baseDir = Path.Combine(IntermediateFolder, CurrentBuildInfo.DirectoryName);
_cbv = new BuildVersionInfo
{
VersionName = parameters.VersionName,
ConfigHash = configHash,
AttributesFile = "attributes",
DependencyFile = "dependency",
ManifestFile = "manifest",
XRefSpecMapFile = "xrefspecmap",
BuildMessageFile = "buildmessage",
AttributesFile = IncrementalUtility.CreateRandomFileName(baseDir),
DependencyFile = IncrementalUtility.CreateRandomFileName(baseDir),
ManifestFile = IncrementalUtility.CreateRandomFileName(baseDir),
XRefSpecMapFile = IncrementalUtility.CreateRandomFileName(baseDir),
BuildMessageFile = IncrementalUtility.CreateRandomFileName(baseDir),
Attributes = fileAttributes,
Dependency = context.DependencyGraph,
};
Expand Down

0 comments on commit 65714b7

Please sign in to comment.