2021-06-10 19:24:58 -04:00
<?xml version='1.0' ?>
<BuildGraph xmlns= "http://www.epicgames.com/BuildGraph" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://www.epicgames.com/BuildGraph ../../../Build/Graph/Schema.xsd" >
<Option Name= "PreflightChange" DefaultValue= "" Description= "Preflight changelist number" />
2021-06-10 21:40:41 -04:00
<Option Name= "SubmitToStream" DefaultValue= "" Description= "Stream to submit binaries to" />
<Option Name= "SubmitToBranch" DefaultValue= "" Description= "Branch to submit binaries to" />
<Option Name= "SubmitPath" DefaultValue= "" Description= "Relative path within the stream/branch to submit binaries" />
2021-06-10 19:24:58 -04:00
<Property Name= "UgsDir" Value= "$(RootDir)/Engine/Source/Programs/UnrealGameSync" />
<Property Name= "UgsOutputDir" Value= "$(RootDir)/LocalBuilds/UnrealGameSync" />
<Property Name= "WixDir" Value= "$(RootDir)/Engine/Source/ThirdParty/WiX/3.8" />
<Property Name= "Version" Value= "$(EngineMajorVersion).$(EngineMinorVersion).$(EnginePatchVersion)" />
2021-06-10 21:40:41 -04:00
<Property Name= "InformationalVersion" Value= "$(EscapedBranch)-CL-$(Change)" />
2021-06-10 19:24:58 -04:00
<Property Name= "InformationalVersion" Value= "$(InformationalVersion)-PF-$(PreflightChange)" If= "'$(PreflightChange)' != ''" />
<Property Name= "VersionArguments" Value= "/p:Version=$(Version).0 /p:InformationalVersion=$(InformationalVersion)" />
<Agent Name= "UnrealGameSync Agent" Type= "Win64" >
2021-06-10 21:40:41 -04:00
<Property Name= "UgsPublishDir" Value= "$(UgsOutputDir)" />
<Property Name= "UgsPublishDir" Value= "$(UgsPublishDir)/$(SubmitPath)" If= "'$(SubmitPath)' != ''" />
2021-06-10 19:24:58 -04:00
<Node Name= "Build UnrealGameSync" >
<Delete Files= "$(UgsOutputDir)/..." />
2021-06-10 21:40:41 -04:00
<DotNet Arguments= "publish "$(UgsDir)/UnrealGameSync/UnrealGameSync.csproj" --output="$(UgsPublishDir)" --no-self-contained -r win-x64 $(VersionArguments)" />
</Node>
<Node Name= "Publish Unstable" Requires= "Build UnrealGameSync" >
2021-07-15 10:40:14 -04:00
<Submit Description= "Updating UGS from CL $(Change)" Workspace= "Temp" Files= "$(UgsPublishDir)/..." RootDir= "$(UgsOutputDir)" Stream= "$(SubmitToStream)" Branch= "$(SubmitToBranch)/UnstableRelease" />
2021-06-10 21:40:41 -04:00
</Node>
<Node Name= "Publish Live" Requires= "Build UnrealGameSync" >
2021-07-15 10:40:14 -04:00
<Submit Description= "Updating UGS from CL $(Change)" Workspace= "Temp" Files= "$(UgsPublishDir)/..." RootDir= "$(UgsOutputDir)" Stream= "$(SubmitToStream)" Branch= "$(SubmitToBranch)/Release" />
2021-06-10 19:24:58 -04:00
</Node>
</Agent>
</BuildGraph>