From 58b8429df20c2ff30898beca4579509f06c237e9 Mon Sep 17 00:00:00 2001 From: Matt Knop Date: Mon, 2 Dec 2024 09:36:08 -0700 Subject: [PATCH] fetching tags because potentially shallow clone of repo occurred --- .tekton/clowder-pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tekton/clowder-pull-request.yaml b/.tekton/clowder-pull-request.yaml index a43b80be4..a734745f6 100644 --- a/.tekton/clowder-pull-request.yaml +++ b/.tekton/clowder-pull-request.yaml @@ -203,7 +203,7 @@ spec: - name: kustomize-build image: registry.access.redhat.com/ubi8/ubi:latest workingDir: /var/workdir/source - script: set -e && dnf install -y git go make && ls && CLOWDER_VERSION='$("git describe --tags")' && make update-version + script: set -e && dnf install -y git go make && git fetch --prune --unshallow && CLOWDER_VERSION='$("git describe --tags")' && make update-version volumes: # New volume to store a copy of the source code accessible only to this Task. - name: workdir