Try to let users use GITHU_REF variable in the commit message

This commit is contained in:
Carles Pina i Estany 2021-04-25 17:53:31 +01:00
parent 8e9bfb00e6
commit cb0e53ecbe

View File

@ -55,6 +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}"
echo "git add:"
git add .