fix(drone): escape quotes in commit title extraction
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Ching L 2025-09-11 17:38:04 +08:00
parent 80ef0ebc22
commit 23c614e78f

View File

@ -53,7 +53,7 @@ steps:
- name: extract-commit-title
image: alpine
commands:
- export COMMIT_TITLE="$(echo "${DRONE_COMMIT_MESSAGE}" | head -n1)"
- export COMMIT_TITLE="$(echo \"${DRONE_COMMIT_MESSAGE}\" | head -n1)"
- echo "COMMIT_TITLE=$COMMIT_TITLE" >> /drone/env
- name: discord notification