Skip to content

Commit

Permalink
Fix goreleaser task
Browse files Browse the repository at this point in the history
This will goreleaser task that is failing with error
related to git
  • Loading branch information
piyush-garg authored and tekton-robot committed Aug 21, 2024
1 parent a8c2c4d commit 8e72abb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions task/goreleaser/0.2/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e72abb

Please sign in to comment.