feat(bake): publish validated pak artifacts atomically
This commit is contained in:
parent
90b378cc70
commit
999201cca7
9 changed files with 362 additions and 14 deletions
|
|
@ -30,6 +30,7 @@ public sealed class PakWriter : IDisposable {
|
|||
// (the default-0 footgun; PakReader rejects any version but
|
||||
// PakFormat.CurrentFormatVersion).
|
||||
_headerTemplate.FormatVersion = PakFormat.CurrentFormatVersion;
|
||||
_headerTemplate.BakeToolVersion = PakFormat.CurrentBakeToolVersion;
|
||||
|
||||
// Write a header placeholder now; finalized in Finish() once TocOffset/TocCount are known.
|
||||
_headerTemplate.WriteTo(_stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue