build: update nfpm and github-release install method to go modules

This commit is contained in:
Nick Craig-Wood 2020-10-26 19:06:26 +00:00
parent 00a5086ff2
commit bf2b975359

View File

@ -93,8 +93,8 @@ build_dep:
# Get the release dependencies we only install on linux
release_dep_linux:
go run bin/get-github-release.go -extract nfpm goreleaser/nfpm 'nfpm_.*_Linux_x86_64.tar.gz'
go run bin/get-github-release.go -extract github-release aktau/github-release 'linux-amd64-github-release.tar.bz2'
cd /tmp && go get github.com/goreleaser/nfpm
cd /tmp && go get github.com/github-release/github-release
# Get the release dependencies we only install on Windows
release_dep_windows: