File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1313 <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
1414 <RepositoryUrl >https://github.com/kerryjiang/EtradeMcpNet.git</RepositoryUrl >
1515 </PropertyGroup >
16- <PropertyGroup Condition =" '$(IncludeReleaseNotes)' == 'true'" >
16+ <PropertyGroup Condition =" 'exists('../../releaseNotes/v$(PackageVersion).md')" >
17+ <ReadmeFile >../../releaseNotes/v$(PackageVersion).md</ReadmeFile >
18+ </PropertyGroup >
19+ <PropertyGroup Condition =" '$(IncludeReleaseNotes)' == 'true' and ReadmeFile != ''" >
1720 <PackageReadmeFile >v$(PackageVersion).md</PackageReadmeFile >
1821 </PropertyGroup >
19- <ItemGroup Condition =" '$(IncludeReleaseNotes)' == 'true'" >
20- <None Include =" ../../releaseNotes/v$(PackageVersion).md " Pack =" true" PackagePath =" /" />
22+ <ItemGroup Condition =" '$(IncludeReleaseNotes)' == 'true' and ReadmeFile != '' " >
23+ <None Include =" $(ReadmeFile) " Pack =" true" PackagePath =" /" />
2124 </ItemGroup >
22- </Project >
25+ </Project >
You can’t perform that action at this time.
0 commit comments