Merge pull request #7047 from johnbeisner/CoherentBadgePublish
Publishing a 'coherent' badge.
This commit is contained in:
commit
fc936a73ee
3 changed files with 24 additions and 8 deletions
|
@ -16,13 +16,14 @@
|
||||||
|
|
||||||
<!-- UploadToAzure target comes from Build Tools -->
|
<!-- UploadToAzure target comes from Build Tools -->
|
||||||
<Target Name="PublishArtifacts"
|
<Target Name="PublishArtifacts"
|
||||||
DependsOnTargets="GenerateVersionBadge;
|
DependsOnTargets="GenerateVersionBadge;
|
||||||
GatherItemsForPattern;
|
GenerateCoherentBadge;
|
||||||
GenerateChecksums;
|
GatherItemsForPattern;
|
||||||
UploadArtifactsToAzure;
|
GenerateChecksums;
|
||||||
UploadChecksumsToAzure;
|
UploadArtifactsToAzure;
|
||||||
PublishDebFilesToDebianRepo;
|
UploadChecksumsToAzure;
|
||||||
PublishCliVersionBadge" />
|
PublishDebFilesToDebianRepo;
|
||||||
|
PublishCliVersionBadge" />
|
||||||
|
|
||||||
<Target Name="GatherItemsForPattern">
|
<Target Name="GatherItemsForPattern">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -44,6 +45,8 @@
|
||||||
<Target Name="PublishCliVersionBadge">
|
<Target Name="PublishCliVersionBadge">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<CliVersionBadgeToUpload Include="$(VersionBadge)" />
|
<CliVersionBadgeToUpload Include="$(VersionBadge)" />
|
||||||
|
<CliVersionBadgeToUpload Include="$(CoherentBadge)"
|
||||||
|
Condition=" '$(Coherent)' == 'true' " />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'ubuntu.16.10-x64' ">ubuntu_16_10_x64</VersionBadgeMoniker>
|
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'ubuntu.16.10-x64' ">ubuntu_16_10_x64</VersionBadgeMoniker>
|
||||||
<VersionBadgeMoniker Condition=" '$(IslinuxPortable)' == 'true' ">linux_x64</VersionBadgeMoniker>
|
<VersionBadgeMoniker Condition=" '$(IslinuxPortable)' == 'true' ">linux_x64</VersionBadgeMoniker>
|
||||||
|
|
||||||
<VersionBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg</VersionBadge>
|
<VersionBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg</VersionBadge>
|
||||||
|
<CoherentBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_coherent_badge.svg</CoherentBadge>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -14,4 +14,16 @@
|
||||||
ReplacementPatterns="ver_number"
|
ReplacementPatterns="ver_number"
|
||||||
ReplacementStrings="$(SdkVersion)" />
|
ReplacementStrings="$(SdkVersion)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="GenerateCoherentBadge"
|
||||||
|
DependsOnTargets="Init; EvaluateRuntimeCoherence"
|
||||||
|
Condition=" '$(Coherent)' == 'true' ">
|
||||||
|
<Message Text="$(CoherentBadge)" />
|
||||||
|
|
||||||
|
<ReplaceFileContents
|
||||||
|
InputFile="$(VersionSvgTemplate)"
|
||||||
|
DestinationFile="$(CoherentBadge)"
|
||||||
|
ReplacementPatterns="ver_number"
|
||||||
|
ReplacementStrings="$(SdkVersion)" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue