Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Aug 6, 2020

This commit fixes a difference in the default string comparison
on .NET core across Windows and Linux which was causing the
Stale docs github action to fail on CI because generated documentation
was ordering asciidoc includes and list items in a different order.

This fix sets a specific culture to use and uses ordinal string
comparison. Tested on Windows and Ubuntu 18.04 WSL 2.

This commit fixes a difference in the default string comparison
on .NET core across Windows and Linux which was causing the
Stale docs github action to fail on CI because generated documentation
was ordering asciidoc includes and list items in a different order.

This fix sets a specific culture to use and uses ordinal string
comparison.
@russcam russcam merged commit b70a800 into master Aug 6, 2020
@russcam russcam deleted the docs/file-order branch August 6, 2020 05:13
github-actions bot pushed a commit that referenced this pull request Aug 6, 2020
This commit fixes a difference in the default string comparison
on .NET core across Windows and Linux which was causing the
Stale docs github action to fail on CI because generated documentation
was ordering asciidoc includes and list items in a different order.

This fix sets a specific culture to use and uses ordinal string
comparison.
github-actions bot pushed a commit that referenced this pull request Aug 6, 2020
This commit fixes a difference in the default string comparison
on .NET core across Windows and Linux which was causing the
Stale docs github action to fail on CI because generated documentation
was ordering asciidoc includes and list items in a different order.

This fix sets a specific culture to use and uses ordinal string
comparison.
russcam added a commit that referenced this pull request Aug 6, 2020
…4949)

This commit fixes a difference in the default string comparison
on .NET core across Windows and Linux which was causing the
Stale docs github action to fail on CI because generated documentation
was ordering asciidoc includes and list items in a different order.

This fix sets a specific culture to use and uses ordinal string
comparison.

Co-authored-by: Russ Cam <russ.cam@elastic.co>
russcam added a commit that referenced this pull request Aug 6, 2020
…4950)

This commit fixes a difference in the default string comparison
on .NET core across Windows and Linux which was causing the
Stale docs github action to fail on CI because generated documentation
was ordering asciidoc includes and list items in a different order.

This fix sets a specific culture to use and uses ordinal string
comparison.

Co-authored-by: Russ Cam <russ.cam@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants