Better use "$" to make it clear that this is going to be escaped

This commit is contained in:
Carles Pina i Estany 2021-04-25 17:59:53 +01:00
parent cb0e53ecbe
commit 5c472514b3

View File

@ -55,7 +55,7 @@ ls -la
ORIGIN_COMMIT="https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
COMMIT_MESSAGE="${COMMIT_MESSAGE/ORIGIN_COMMIT/$ORIGIN_COMMIT}"
COMMIT_MESSAGE="${COMMIT_MESSAGE/GITHUB_REF/$GITHUB_REF}"
COMMIT_MESSAGE="${COMMIT_MESSAGE/\$GITHUB_REF/$GITHUB_REF}"
echo "git add:"
git add .