build: fix windows/386 icon/version embedding #4304

Make sure we install goversioninfo binary for the running architecture
otherwise we don't get a binary.
This commit is contained in:
Nick Craig-Wood 2020-06-18 15:45:48 +01:00
parent 33c8709439
commit a1c9612d75

View file

@ -93,7 +93,7 @@ release_dep_linux:
# Get the release dependencies we only install on Windows
release_dep_windows:
GO111MODULE=off go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo
GO111MODULE=off GOOS="" GOARCH="" go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo
# Update dependencies
update: