ci(package-pr): remove extra '
This commit is contained in:
parent
792c7c69eb
commit
f0f5991bf3
|
@ -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'}
|
||||||
|
|
Loading…
Reference in New Issue