Skip to content

Commit d9b9f86

Browse files
GvieveGenevieve Nuebel
andauthored
Fix variable passed to changelog manager (#84)
Co-authored-by: Genevieve Nuebel <genevieve.nuebel@mx.com>
1 parent bfc4812 commit d9b9f86

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/openapi-generate-and-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ jobs:
151151
fi
152152
153153
# Convert space-separated versions to comma-separated for changelog_manager.rb
154-
VERSIONS_CSV=$(echo "$GENERATED_VERSIONS" | tr ' ' ',')
154+
# Trim leading/trailing whitespace first
155+
VERSIONS_CSV=$(echo "$GENERATED_VERSIONS" | xargs | tr ' ' ',')
155156
ruby .github/changelog_manager.rb "$VERSIONS_CSV"
156157
- name: Copy documentation
157158
run: |

0 commit comments

Comments
 (0)