Skip to content

Commit

Permalink
Fix display of version for Jenkins builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ermshiperete committed Jan 5, 2022
1 parent 58fe107 commit f16fafe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/icu.net/icu.net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ NOTE: this package contains the managed wrapper part of icu.net. You'll also hav
</ItemGroup>

<Target Name="StoreVersion" AfterTargets="Build">
<MakeDir Directories="$(OutputPath)" />
<WriteLinesToFile File="$(OutputPath)/version.txt" Lines="$(GitVersion_FullSemVer)" Overwrite="True" />
<MakeDir Directories="$(MSBuildThisFileDirectory)/../../output/$(Configuration)" />
<WriteLinesToFile File="$(MSBuildThisFileDirectory)/../../output/$(Configuration)/version.txt" Lines="$(GitVersion_FullSemVer)" Overwrite="True" Condition="'$(GitVersion_FullSemVer)' != ''" />
</Target>
</Project>

0 comments on commit f16fafe

Please sign in to comment.