mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-15 17:18:05 +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>
|
<ErrorLog>$(SarifOutputDir)/$(MSBuildProjectName).sarif,version=2.1</ErrorLog>
|
||||||
</PropertyGroup>
|
</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"
|
<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>
|
<PropertyGroup>
|
||||||
<ReadmeFile>$(MSBuildThisFileDirectory)README.md</ReadmeFile>
|
<ReadmeFile>$(MSBuildThisFileDirectory)README.md</ReadmeFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user