mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-28 02:01:01 +00:00
fix: multi line trailing
This commit is contained in:
7
.github/workflows/beta.yml
vendored
7
.github/workflows/beta.yml
vendored
@@ -201,10 +201,9 @@ jobs:
|
||||
fi
|
||||
|
||||
commit_messages=$(echo "$COMMIT_LOG" |
|
||||
sed -E 's/%0A/\n/g' |
|
||||
sed -E 's/ \[֍\]\(https?:\/\/[^)]+\)//g' |
|
||||
tr '\n' '\r' |
|
||||
sed -E 's/\r/\\n/g')
|
||||
sed -E 's/%0A/\n/g' |
|
||||
sed -E 's/ \[֍\]\(https?:\/\/[^)]+\)//g' |
|
||||
sed -E ':a;N;$!ba;s/\n/\\n/g')
|
||||
|
||||
# Construct Discord payload
|
||||
discord_data=$(jq -nc \
|
||||
|
||||
Reference in New Issue
Block a user