ci: sort with dictionary mode for compatibility (#1388)
This commit is contained in:
parent
bf0a2c1134
commit
1507791993
|
|
@ -28,8 +28,8 @@ body:
|
|||
- area:browser
|
||||
- area:cicd
|
||||
- area:client
|
||||
- area:cloud
|
||||
- area:cloudevents
|
||||
- area:cloud
|
||||
- area:code
|
||||
- area:container
|
||||
- area:cpu
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ body:
|
|||
- area:browser
|
||||
- area:cicd
|
||||
- area:client
|
||||
- area:cloud
|
||||
- area:cloudevents
|
||||
- area:cloud
|
||||
- area:code
|
||||
- area:container
|
||||
- area:cpu
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ body:
|
|||
- area:browser
|
||||
- area:cicd
|
||||
- area:client
|
||||
- area:cloud
|
||||
- area:cloudevents
|
||||
- area:cloud
|
||||
- area:code
|
||||
- area:container
|
||||
- area:cpu
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue