Skip to content

Instantly share code, notes, and snippets.

<Do If="$(PublishDebugSymbols)">
<Do If="$(IsBuildMachine)">
<Horde-SetSecretEnvVar Name="SENTRY_AUTH_TOKEN" Secret="SentryAuthToken.value" />
</Do>
<Property Name="PluginDir" Value="$(ProjectDir)/Plugins/Sentry" />
<Property Name="SentryUploadSymbolsArgs" Value="$(Platform) $(TargetName) $(PlatformType) $(Configuration)" />
<Property Name="SentryUploadSymbolsArgs" Value="$(SentryUploadSymbolsArgs) &quot;$(ProjectDir)&quot; &quot;$(PluginDir)&quot;" />
<Spawn Exe="cmd" Arguments="/C &quot;&quot;$(PluginDir)/Scripts/upload-debug-symbols-win.bat&quot; $(SentryUploadSymbolsArgs)&quot;" Environment="SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY=True" LogOutput="True" />
</Do>
@JesseOlmer
JesseOlmer / BuildGraphStringTests.xml
Created May 15, 2025 19:41
Examples of various string manipulation to allow more complex use cases in buildgraph, and more code reuse
<?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 ../Schema.xsd" >
<Agent Name="TestAgent" Type="Default">
<Node Name="TestContains">
<Property Name="TestString" Value="This is a string to test against" />
<Property Name="TestString2" Value="Another string" />
<Property Name="CheckValue" Value="test" />
<Warning If="Contains('$(TestString)', '$(CheckValue)')" Message="TestContains: Test String contained the check value" />
<Warning If="!Contains('$(TestString2)', '$(CheckValue)')" Message="TestContains: Test String 2 did not contain the check value" />
</Node>