We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c044bc commit fdf71f0Copy full SHA for fdf71f0
UAssetGUI.csproj
@@ -128,7 +128,7 @@
128
</PackageReference>
129
</ItemGroup>
130
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
131
- <PropertyGroup>
132
- <PreBuildEvent>git rev-parse --short HEAD > "$(ProjectDir)\git_commit.txt"</PreBuildEvent>
133
- </PropertyGroup>
+ <Target Name="BeforeBuild">
+ <Exec ContinueOnError="true" Command="git rev-parse --short HEAD > "$(ProjectDir)\git_commit.txt"" />
+ </Target>
134
</Project>
0 commit comments