entrypoint.sh: replace pipe with slash
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
901bc94e2e
commit
4694e9ce7c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ RANDOM_INDEX=$(( RANDOM % NUM_MESSAGES ))
|
||||||
|
|
||||||
MESSAGE=$(yq eval ".messages[$RANDOM_INDEX]" "$MESSAGE_FILE")
|
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"
|
echo "$PLUGIN_PR_BODY"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue