fix: removed commented commit escaping code

This commit is contained in:
xgroleau🐢 2023-03-29 13:54:17 -04:00 committed by Cole Helbling
parent ad81b423ab
commit dec3bc3c9b
1 changed files with 0 additions and 3 deletions

View File

@ -165,9 +165,6 @@ runs:
run: | run: |
DELIMITER=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) DELIMITER=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
COMMIT_MESSAGE="$(git log --format=%b -n 1)" COMMIT_MESSAGE="$(git log --format=%b -n 1)"
# GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//'%'/'%25'}"
# GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//$'\n'/'%0A'}"
# GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//$'\r'/'%0D'}"
echo "GIT_COMMIT_MESSAGE<<$DELIMITER" >> $GITHUB_ENV echo "GIT_COMMIT_MESSAGE<<$DELIMITER" >> $GITHUB_ENV
echo "$COMMIT_MESSAGE" >> $GITHUB_ENV echo "$COMMIT_MESSAGE" >> $GITHUB_ENV
echo "$DELIMITER" >> $GITHUB_ENV echo "$DELIMITER" >> $GITHUB_ENV