This commit is contained in:
parent
7e17ad4708
commit
477ef97d51
@ -29,7 +29,7 @@ tasks:
|
|||||||
deps:tools:
|
deps:tools:
|
||||||
desc: Installs tools needed for building
|
desc: Installs tools needed for building
|
||||||
vars:
|
vars:
|
||||||
GORELEASER_VERSION: "0.183.0"
|
GORELEASER_VERSION: "1.19.2"
|
||||||
cmds:
|
cmds:
|
||||||
- '{{ if ne OS "windows" }} sh -c "curl -L https://github.com/goreleaser/goreleaser/releases/download/v{{ .GORELEASER_VERSION }}/goreleaser_$(uname -s)_$(uname -m).tar.gz | tar -xz -C $(go env GOPATH)/bin goreleaser"{{ else }} {{ end }}'
|
- '{{ if ne OS "windows" }} sh -c "curl -L https://github.com/goreleaser/goreleaser/releases/download/v{{ .GORELEASER_VERSION }}/goreleaser_$(uname -s)_$(uname -m).tar.gz | tar -xz -C $(go env GOPATH)/bin goreleaser"{{ else }} {{ end }}'
|
||||||
- '{{ if ne OS "windows" }} chmod +x $(go env GOPATH)/bin/goreleaser{{ else }} {{ end }}'
|
- '{{ if ne OS "windows" }} chmod +x $(go env GOPATH)/bin/goreleaser{{ else }} {{ end }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user