From 64170686617115c5bc9e9670754513aea26338cd Mon Sep 17 00:00:00 2001 From: Pavlos Tzianos Date: Wed, 16 Oct 2024 11:33:41 +0100 Subject: [PATCH] remove results output from git-clone component --- components/sources/git/task.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/sources/git/task.yaml b/components/sources/git/task.yaml index 357b5a97e..349184b89 100644 --- a/components/sources/git/task.yaml +++ b/components/sources/git/task.yaml @@ -225,13 +225,7 @@ spec: -submodules="${PARAM_SUBMODULES}" \ -depth="${PARAM_DEPTH}" \ -sparseCheckoutDirectories="${PARAM_SPARSE_CHECKOUT_DIRECTORIES}" - cd "${CHECKOUT_DIR}" - RESULT_SHA="$(git rev-parse HEAD)" EXIT_CODE="$?" if [ "${EXIT_CODE}" != 0 ] ; then exit "${EXIT_CODE}" fi - RESULT_COMMITTER_DATE="$(git log -1 --pretty=%ct)" - printf "%s" "${RESULT_COMMITTER_DATE}" > "$(results.committer-date.path)" - printf "%s" "${RESULT_SHA}" > "$(results.commit.path)" - printf "%s" "${PARAM_URL}" > "$(results.url.path)"