build: fix nfpm install by using the released binary

This commit is contained in:
Nick Craig-Wood 2021-03-07 16:42:22 +00:00
parent d45d48cbe5
commit 86babc6393

View File

@ -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
go run bin/get-github-release.go -extract nfpm goreleaser/nfpm 'nfpm_.*_Linux_x86_64\.tar\.gz'
# Get the release dependencies we only install on Windows
release_dep_windows: