Skip to content

Commit

Permalink
swallow pre-build event errors
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Apr 15, 2022
1 parent 3c044bc commit fdf71f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UAssetGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>git rev-parse --short HEAD &gt; "$(ProjectDir)\git_commit.txt"</PreBuildEvent>
</PropertyGroup>
<Target Name="BeforeBuild">
<Exec ContinueOnError="true" Command="git rev-parse --short HEAD &gt; &quot;$(ProjectDir)\git_commit.txt&quot;" />
</Target>
</Project>

0 comments on commit fdf71f0

Please sign in to comment.