Skip to content

Commit

Permalink
ci: sort with dictionary mode for compatibility (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdvalle committed Sep 4, 2024
1 parent bf0a2c1 commit 1507791
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ body:
- area:browser
- area:cicd
- area:client
- area:cloud
- area:cloudevents
- area:cloud
- area:code
- area:container
- area:cpu
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/change_proposal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ body:
- area:browser
- area:cicd
- area:client
- area:cloud
- area:cloudevents
- area:cloud
- area:code
- area:container
- area:cpu
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/new-conventions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ body:
- area:browser
- area:cicd
- area:client
- area:cloud
- area:cloudevents
- area:cloud
- area:code
- area:container
- area:cpu
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scripts/get-registry-areas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ CUR_DIRECTORY=$(dirname "$0")
REPO_DIR="$( cd "$CUR_DIRECTORY/../../../" && pwd )"
REGISTRY_DIR="$( cd "$REPO_DIR/model/registry" && pwd )"


for entry in $(ls $REGISTRY_DIR | egrep '\.yaml$' | sort)
# Explicitly sort with `-d` (dictionary) so BSD and GNU work alike.
for entry in $(ls $REGISTRY_DIR | egrep '\.yaml$' | sort -d)
do
echo "$entry"
done

0 comments on commit 1507791

Please sign in to comment.