ci(package-pr): remove extra '

This commit is contained in:
Thomas Hobson 2021-02-28 16:15:41 +13:00
parent 792c7c69eb
commit f0f5991bf3
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ jobs:
shell: bash shell: bash
run: | run: |
COMMITS='${{ steps.get-pr-commits.outputs.commits }}' COMMITS='${{ steps.get-pr-commits.outputs.commits }}'
PACKAGES=$(echo $COMMITS | jq .[].commit.message -r | grep -oP '^pkg\(\K[^:\h\n]+(?=\))'' | sort -u | sed 's/^/* /') PACKAGES=$(echo $COMMITS | jq .[].commit.message -r | grep -oP '^pkg\(\K[^:\h\n]+(?=\))' | sort -u | sed 's/^/* /')
PACKAGES=${PACKAGES//$'%'/'%25'} PACKAGES=${PACKAGES//$'%'/'%25'}
PACKAGES=${PACKAGES//$'\n'/'%0A'} PACKAGES=${PACKAGES//$'\n'/'%0A'}
PACKAGES=${PACKAGES//$'\r'/'%0D'} PACKAGES=${PACKAGES//$'\r'/'%0D'}