From 512981fd7f1f2e9b43c730fd97dfe3efcf9e2090 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 26 Sep 2026 13:14:08 -0700 Subject: [PATCH] List full platform names in release notes The Supported Platforms list kept only the text after the last hyphen of each gem filename, so v2.2.0's notes read "musl, linux, ucrt, darwin, darwin, musl, linux". Its `x86|arm|aarch` filter also dropped x64-mingw-ucrt. Strip the known `code_ownership--` prefix instead. --- .github/workflows/cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fc51585..f131412 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -215,6 +215,7 @@ if: ${{ steps.push-gem.outputs.new_version == 'true' }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GEM_VERSION: ${{ steps.push-gem.outputs.gem_version }} run: | # Create release with more detailed information RELEASE_NOTES="## CodeOwnership v${{ steps.push-gem.outputs.gem_version }} @@ -224,7 +225,7 @@ - Platform gems: Published for all supported platforms ### 🎯 Supported Platforms - $(ls pkg/*.gem | grep -E '\-(x86|arm|aarch)' | sed 's/.*-\([^-]*\)\.gem/- \1/') + $(for gem in pkg/code_ownership-"$GEM_VERSION"-*.gem; do [ -e "$gem" ] || continue; platform=${gem#pkg/code_ownership-"$GEM_VERSION"-}; echo "- ${platform%.gem}"; done) --- "