1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-23 06:08:46 +00:00

Fix goreleaser task

This will goreleaser task that is failing with error
related to git
This commit is contained in:
Piyush Garg 2024-08-21 20:52:53 +05:30 committed by tekton-robot
parent a8c2c4d394
commit 8e72abb3e9

View File

@ -41,11 +41,13 @@ spec:
image: $(params.image)
workingDir: $(workspaces.source.path)
script: |
git config --global --add safe.directory $(workspaces.source.path)
git status; git fetch -p --all
- name: release
image: $(params.image)
workingDir: $(workspaces.source.path)
script: |
git config --global --add safe.directory $(workspaces.source.path)
goreleaser release $(params.flags)
env:
- name: GOPATH