Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build/publish/FinishBuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
DependsOnTargets="CheckIfAllBuildsHavePublished;
FinalizeBuild" />

<Target Name="CheckIfAllBuildsHavePublished">
<Target Name="CheckIfAllBuildsHavePublished"
DependsOnTargets="SetBadgeProps">
<CheckIfAllBuildsHavePublished AccountKey="$(ArtifactCloudDropAccessToken)"
AccountName="$(ArtifactCloudDropAccountName)"
ContainerName="$(ArtifactContainerName)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public override bool Execute()
{ "linux_x64", false },
{ "rhel.6_x64", false },
{ "alpine.3.6_x64", false },
{ "all_linux_distros_native_installer", false},
{ "linux_arm", false},
{ "linux_arm64", false}
{ "all_linux_distros_native_installer", false },
{ "linux_arm", false },
{ "linux_arm64", false }
};

if (!badges.ContainsKey(VersionBadgeMoniker))
Expand All @@ -71,7 +71,7 @@ public override bool Execute()
string name = Path.GetFileName(file);
foreach (string img in badges.Keys)
{
if ((name.StartsWith($"{img}")) && (name.EndsWith(".svg")))
if ((name.StartsWith($"{img}_")) && (name.EndsWith(".svg")))
{
badges[img] = true;
break;
Expand Down