Skip trying to install Git hooks in CI

This commit is contained in:
YoshiRulz 2024-06-09 22:29:46 +10:00
parent 2b05071493
commit 68c160b96b
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@
</ItemGroup>
<Target Name="InstallGitHooks" AfterTargets="PreBuildEvent">
<Exec Command="$(MSBuildProjectDirectory)/../../Dist/install_git_hooks.ps1"
Condition=" '$(ContinuousIntegrationBuild)' != 'true' "
IgnoreExitCode="true" /> <!-- i.e. may fail... though it was actually using the exit code properly, but oh well -->
</Target>
</Project>