Fix sed (had the missing slash but now replaces it every time)

This commit is contained in:
Carles Pina i Estany 2020-11-04 16:28:43 +00:00
parent c6421df38d
commit 79e1b1b20b

View File

@ -39,7 +39,7 @@ ls -la
echo "Adding git commit"
ORIGIN_COMMIT="https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
COMMIT_MESSAGE=$(echo "$COMMIT_MESSAGE" | sed "s/ORIGIN_COMMIT/$ORIGIN_COMMIT")
COMMIT_MESSAGE=$(echo "$COMMIT_MESSAGE" | sed "s/ORIGIN_COMMIT/$ORIGIN_COMMIT/g")
git add .
git status