Skip to content

Commit e4fbd17

Browse files
bkeryanmshafer-NI
andauthored
update-project-version: Use sed instead of awk to convert to a markdown list
Co-authored-by: mshafer-NI <[email protected]>
1 parent 60e0436 commit e4fbd17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-project-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747
run: |
4848
echo "changed-files<<EOF" >> "$GITHUB_OUTPUT"
4949
# Prefix with "- " to generate a Markdown list.
50-
git diff --name-only | awk '{ print "-", $0 }' >> "$GITHUB_OUTPUT"
50+
git diff --name-only | sed -e 's/^/- /g' >> "$GITHUB_OUTPUT"
5151
echo "EOF" >> "$GITHUB_OUTPUT"
5252
shell: bash
5353
- name: Create pull request

0 commit comments

Comments
 (0)