feat: commits start on a new line
This commit is contained in:
parent
855c7e623a
commit
d27b4f6905
1 changed files with 3 additions and 2 deletions
5
.github/workflows/beta.yml
vendored
5
.github/workflows/beta.yml
vendored
|
@ -103,8 +103,9 @@ jobs:
|
||||||
if [ ${#commit_messages} -gt $max_length ]; then
|
if [ ${#commit_messages} -gt $max_length ]; then
|
||||||
commit_messages="${commit_messages:0:$max_length}... (truncated)"
|
commit_messages="${commit_messages:0:$max_length}... (truncated)"
|
||||||
fi
|
fi
|
||||||
contentbody=$( jq -Rsa . <<< "Alpha-Build: <@719439449423085569> **$VERSION**: $commit_messages" )
|
contentbody=$( jq -nc --arg msg "Alpha-Build: <@719439449423085569> **$VERSION**:\n$commit_messages" '{"content": $msg}' )
|
||||||
curl -F "payload_json={\"content\":${contentbody}}" -F "dantotsu_debug=@app/build/outputs/apk/alpha/app-alpha.apk" ${{ secrets.DISCORD_WEBHOOK }}
|
curl -F "payload_json=${contentbody}" -F "dantotsu_debug=@app/build/outputs/apk/alpha/app-alpha.apk" ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
COMMIT_LOG: ${{ env.COMMIT_LOG }}
|
COMMIT_LOG: ${{ env.COMMIT_LOG }}
|
||||||
VERSION: ${{ env.VERSION }}
|
VERSION: ${{ env.VERSION }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue