Skip to content

Commit

Permalink
Use scripts for goreleaser task 👼
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and tekton-robot committed Mar 2, 2020
1 parent 7b04fdf commit d2db176
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tekton/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,13 @@ spec:
- name: pull
image: goreleaser/goreleaser
workingdir: /workspace/src/$(inputs.params.package)
command:
- /bin/bash
args:
- -c
- "git status; git fetch -p --all"
script: |
git status; git fetch -p --all
- name: release
image: goreleaser/goreleaser
workingdir: /workspace/src/$(inputs.params.package)
command:
- /bin/bash
args:
- -c
- "goreleaser release $(inputs.params.flags)"
script: |
goreleaser release $(inputs.params.flags)
env:
- name: GOPATH
value: /workspace
Expand Down

0 comments on commit d2db176

Please sign in to comment.