Skip to content

Commit e042b53

Browse files
committed
add workspace.source.dir as safe for git in release pipeline yaml
1 parent 8f2dd07 commit e042b53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.tekton/release-pipeline.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ spec:
6565
# release-0.5.6, release-0.5.x and stable
6666
set -eufx
6767
git fetch --tag -v
68+
git config --global --add safe.directory $(workspaces.source.path)
6869
version=$(git --no-pager tag --points-at HEAD)
6970
[[ -z ${version} ]] && {
7071
echo "No tags detected"

0 commit comments

Comments
 (0)