mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-07-27 17:27:43 +00:00
fix: restrict StampReadmeVersion to single project to prevent parallel race corruption
This commit is contained in:
@@ -44,9 +44,9 @@
|
||||
<ErrorLog>$(SarifOutputDir)/$(MSBuildProjectName).sarif,version=2.1</ErrorLog>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Stamp lib/VERSION into README.md replacing the <version> placeholder -->
|
||||
<!-- Stamp lib/VERSION into README.md heading — single project only to prevent parallel race -->
|
||||
<Target Name="StampReadmeVersion" BeforeTargets="CoreCompile"
|
||||
Condition="Exists('$(QtaVersionFile)') AND Exists('$(MSBuildThisFileDirectory)README.md')">
|
||||
Condition="'$(MSBuildProjectName)' == 'quantalib' AND Exists('$(QtaVersionFile)') AND Exists('$(MSBuildThisFileDirectory)README.md')">
|
||||
<PropertyGroup>
|
||||
<ReadmeFile>$(MSBuildThisFileDirectory)README.md</ReadmeFile>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user