This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
build_projects/dotnet-cli-build Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 55 DependsOnTargets =" CheckIfAllBuildsHavePublished;
66 FinalizeBuild" />
77
8- <Target Name =" CheckIfAllBuildsHavePublished" >
8+ <Target Name =" CheckIfAllBuildsHavePublished"
9+ DependsOnTargets =" SetBadgeProps" >
910 <CheckIfAllBuildsHavePublished AccountKey =" $(ArtifactCloudDropAccessToken)"
1011 AccountName =" $(ArtifactCloudDropAccountName)"
1112 ContainerName =" $(ArtifactContainerName)"
Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ public override bool Execute()
5555 { "linux_x64" , false } ,
5656 { "rhel.6_x64" , false } ,
5757 { "alpine.3.6_x64" , false } ,
58- { "all_linux_distros_native_installer" , false } ,
59- { "linux_arm" , false } ,
60- { "linux_arm64" , false }
58+ { "all_linux_distros_native_installer" , false } ,
59+ { "linux_arm" , false } ,
60+ { "linux_arm64" , false }
6161 } ;
6262
6363 if ( ! badges . ContainsKey ( VersionBadgeMoniker ) )
@@ -71,7 +71,7 @@ public override bool Execute()
7171 string name = Path . GetFileName ( file ) ;
7272 foreach ( string img in badges . Keys )
7373 {
74- if ( ( name . StartsWith ( $ "{ img } ") ) && ( name . EndsWith ( ".svg" ) ) )
74+ if ( ( name . StartsWith ( $ "{ img } _ ") ) && ( name . EndsWith ( ".svg" ) ) )
7575 {
7676 badges [ img ] = true ;
7777 break ;
You can’t perform that action at this time.
0 commit comments