Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Conversation

@johnbeisner
Copy link

The badge existence check was always returning false because the pattern match was not deterministic.

Paraphrased badge existence check logic:
StartsWith("linux_arm") && EndsWith(".svg")

Conflicting badge file names:
"linux_arm64_Release_version_badge.svg"
"linux_arm_Release_version_badge.svg"

The check was double verifying the linux_arm badge and always returning 'false' for the linux_arm64 badge.

Other:
FinishBuild.targets
'CheckIfAllBuildsHavePublished' target depends on the 'SetBadgeProps' target [VersionBadgeMoniker]

FinishBuild.targets
formatting...

@johnbeisner johnbeisner self-assigned this Apr 11, 2018
@johnbeisner johnbeisner requested review from a team, dsplaisted and livarcocc April 11, 2018 03:55
foreach (string img in badges.Keys)
{
if ((name.StartsWith($"{img}")) && (name.EndsWith(".svg")))
if ((name.StartsWith($"{string.Concat(img, "_")}")) && (name.EndsWith(".svg")))

This comment was marked as spam.

@johnbeisner
Copy link
Author

@dotnet/dotnet-cli
Can I get an approval on this please.

@johnbeisner johnbeisner merged commit 07a15f9 into dotnet:master Apr 11, 2018
livarcocc added a commit to livarcocc/cli-1 that referenced this pull request Apr 16, 2018
* master: (49 commits)
  Add back 'nuget-build' feed for: NuGet.Versioning 4.7.0-rtm.5081
  Slight re-ordering...
  Add back 'Roslyn' feed for: Microsoft.NETCore.Compilers 2.8.0-beta4-62811-05
  Trim back the 'unnecessary' nuget feeds.
  Insert NuGet Build 4.7.0-rtm.5081 into cli
  Terminate the 'StartsWith' string in the badge existence check. (dotnet#9049)
  Update coresetup, coresetup, coresetup, roslyn to preview3-26411-06, preview3-26411-06, preview3-26411-06, beta4-62811-05, respectively
  consume bring your own shim(byos) (dotnet#9018)
  Fixing typos...
  Updating the dev-certs message displayed in the first run experience.
  Fix merge to only update core-setup and Roslyn versions.
  LOC CHECKIN | dotnet/cli master | 20180409
  Add TryGetMostFitRuntimeIdentifier (dotnet#8997)
  Adapt to no config file Apphost shim
  Update CoreSetup, CoreSetup, CoreSetup, Roslyn to preview3-26406-06, preview3-26406-06, preview3-26406-06, beta4-62806-08, respectively
  Revert links on Readme to master
  Add test cases per PR feedback
  Tweak --no-build messages based on PR feedback
  Update CoreSetup, CoreSetup, CoreSetup, Roslyn to preview3-26405-02, preview3-26405-02, preview3-26405-02, beta4-62805-01, respectively
  Disabling msbuild node reuse for CLI full build.
  ...

 Conflicts:
	build/DependencyVersions.props
@johnbeisner johnbeisner deleted the FixPublishing branch January 17, 2019 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants