chore: output assembly ver for builds

This commit is contained in:
goat 2022-12-10 11:30:11 +01:00
parent c4a4b873d3
commit 2f4efe4e50
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 8 additions and 9 deletions

View file

@ -109,6 +109,13 @@
<ContentWithTargetPath Include="$(ProjectRuntimeConfigFilePath)" CopyToOutputDirectory="PreserveNewest" TargetPath="$(ProjectRuntimeConfigFileName)" />
</ItemGroup>
</Target>
<Target Name="TempWriteAssemblyVersion" BeforeTargets="CoreCompile">
<PropertyGroup>
<TempAssemblyNameFile>$(OutputPath)TEMP_assver.txt</TempAssemblyNameFile>
</PropertyGroup>
<Exec Command="echo $(DalamudVersion) &gt; $(TempAssemblyNameFile)" />
</Target>
<Target Name="GetGitHash" BeforeTargets="WriteGitHash" Condition="'$(BuildHash)' == ''">
<PropertyGroup>