build: ensure go1.16 go gets the correct versions of tools
go1.16 uses GO111MODULE=on by default which meant we were picking up v1 of nfpm instead of the intended v2.
This commit is contained in:
@@ -93,8 +93,7 @@ build_dep:
|
||||
|
||||
# Get the release dependencies we only install on linux
|
||||
release_dep_linux:
|
||||
cd /tmp && go get github.com/goreleaser/nfpm/...
|
||||
cd /tmp && go get github.com/github-release/github-release
|
||||
cd /tmp && go get github.com/goreleaser/nfpm/v2/...
|
||||
|
||||
# Get the release dependencies we only install on Windows
|
||||
release_dep_windows:
|
||||
|
||||
Reference in New Issue
Block a user