From df541b0f416d7a69e4178d0e1ff8d877eb692c1f Mon Sep 17 00:00:00 2001 From: Greg Dallavalle Date: Wed, 4 Sep 2024 10:42:00 -0500 Subject: [PATCH 1/2] ci: sort with dictionary mode for compatibility --- .github/workflows/scripts/get-registry-areas.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/get-registry-areas.sh b/.github/workflows/scripts/get-registry-areas.sh index b4fd8b6e18..b33c9b3c60 100755 --- a/.github/workflows/scripts/get-registry-areas.sh +++ b/.github/workflows/scripts/get-registry-areas.sh @@ -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 From a8279aca9860b386eb4256c4aaa1fd26400ed82e Mon Sep 17 00:00:00 2001 From: Greg Dallavalle Date: Wed, 4 Sep 2024 11:01:20 -0500 Subject: [PATCH 2/2] run make to apply sort order --- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/change_proposal.yaml | 2 +- .github/ISSUE_TEMPLATE/new-conventions.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 60bfe278d5..4fb558fba2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -28,8 +28,8 @@ body: - area:browser - area:cicd - area:client - - area:cloud - area:cloudevents + - area:cloud - area:code - area:container - area:cpu diff --git a/.github/ISSUE_TEMPLATE/change_proposal.yaml b/.github/ISSUE_TEMPLATE/change_proposal.yaml index e42b7c23cc..9c7d3646ed 100644 --- a/.github/ISSUE_TEMPLATE/change_proposal.yaml +++ b/.github/ISSUE_TEMPLATE/change_proposal.yaml @@ -20,8 +20,8 @@ body: - area:browser - area:cicd - area:client - - area:cloud - area:cloudevents + - area:cloud - area:code - area:container - area:cpu diff --git a/.github/ISSUE_TEMPLATE/new-conventions.yaml b/.github/ISSUE_TEMPLATE/new-conventions.yaml index f7854371b4..f0d28f0055 100644 --- a/.github/ISSUE_TEMPLATE/new-conventions.yaml +++ b/.github/ISSUE_TEMPLATE/new-conventions.yaml @@ -29,8 +29,8 @@ body: - area:browser - area:cicd - area:client - - area:cloud - area:cloudevents + - area:cloud - area:code - area:container - area:cpu