feat(build): adds post build event to correctly rename artifact in osx

This commit is contained in:
Matteo Cominetti
2020-11-12 23:10:33 +00:00
parent 81920b336d
commit c9253d1f16
@@ -77,8 +77,11 @@
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows'))">
<PostBuildEvent>Copy "$(TargetPath)" "$(TargetDir)$(ProjectName).gha"</PostBuildEvent>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX'))">
<PostBuildEvent>cp "$(TargetPath)" "$(TargetDir)$(ProjectName).gha"</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
<FallbackCulture>en-US</FallbackCulture>