Update the commit hash for client/server sync validation
This commit is contained in:
Родитель
558236e6c6
Коммит
e670db82b7
|
@ -157,6 +157,18 @@ Task("Version")
|
|||
System.IO.File.WriteAllText(file, text.Replace("v0", "v" + versionInfo.Sha));
|
||||
}
|
||||
|
||||
// Update the commit hash for client/server sync validation
|
||||
var serverFiles = new[] {
|
||||
@"..\src\Uno.SourceGeneratorTasks.Dev15.0\Tasks\SourceGenerationTask.cs",
|
||||
@"..\src\Uno.SourceGeneration.Host\Program.cs",
|
||||
};
|
||||
|
||||
foreach(var file in serverFiles)
|
||||
{
|
||||
var text = System.IO.File.ReadAllText(file);
|
||||
System.IO.File.WriteAllText(file, text.Replace("<developer build>", "v" + versionInfo.Sha));
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче