From 6be0d91f3d42ffa77de0d9e50e09d4b57f518891 Mon Sep 17 00:00:00 2001 From: savitaashture Date: Wed, 3 Jul 2024 22:51:03 +0530 Subject: [PATCH] Fix the issue of not displaying the result COMMIT for git-clone --- Chart.yaml | 2 +- templates/common-environment-variables.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index bf56a47..759d225 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: task-git -version: 0.3.0 +version: 0.3.1 description: | This Task represents Git and is able to initialize and clone a remote repository on the informed Workspace. It's likely to become the first `step` diff --git a/templates/common-environment-variables.tpl b/templates/common-environment-variables.tpl index 52db4ed..d5683f8 100644 --- a/templates/common-environment-variables.tpl +++ b/templates/common-environment-variables.tpl @@ -24,7 +24,7 @@ "workspaces.basic-auth.path" "workspaces.ssl-ca-directory.bound" "workspaces.ssl-ca-directory.path" - "results.commit.path" + "results.COMMIT.path" }} - name: {{ . | upper | replace "." "_" | replace "-" "_" }} value: "$({{ . }})"