entrypoint.sh: replace pipe with slash
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Tom Neuber 2024-10-09 13:38:50 +02:00
parent 901bc94e2e
commit 4694e9ce7c
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -8,7 +8,7 @@ RANDOM_INDEX=$(( RANDOM % NUM_MESSAGES ))
MESSAGE=$(yq eval ".messages[$RANDOM_INDEX]" "$MESSAGE_FILE")
PLUGIN_PR_BODY=$(echo "$PLUGIN_PR_BODY" | sed "s|{- random-pr-message -}|$MESSAGE|")
PLUGIN_PR_BODY=$(echo "$PLUGIN_PR_BODY" | sed "s/{- random-pr-message -}/$MESSAGE/")
echo "$PLUGIN_PR_BODY"