open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
251 stars 163 forks source link

ci: sort with dictionary mode for compatibility #1388

Closed gdvalle closed 3 weeks ago

gdvalle commented 3 weeks ago

In #1337 I found the sort order to differ between CI and my workstation.

https://github.com/open-telemetry/semantic-conventions/actions/runs/10702984450/job/29674122154?pr=1337 details the difference.

Since BSD, GNU and busybox sort all have a -d (dictionary) flag, use that for consistent ordering.