Add debug information (on the git push step)

This commit is contained in:
Carles Pina i Estany 2023-03-17 00:14:44 +01:00
parent 0a14457bb2
commit 6d78f62113

View File

@ -149,4 +149,4 @@ git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"
echo "[+] Pushing git commit"
# --set-upstream: sets de branch when pushing to a branch that does not exist
git push "$GIT_CMD_REPOSITORY" --set-upstream "$TARGET_BRANCH"
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push --verbose "$GIT_CMD_REPOSITORY" --set-upstream "$TARGET_BRANCH"