Browse Source

use full path with go get

Matthew R. Kasun 3 years ago
parent
commit
114a07c234
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/buildandrelease.yml

+ 1 - 1
.github/workflows/buildandrelease.yml

@@ -448,7 +448,7 @@ jobs:
       - name: Build
         run: |
           cd netclient
-          go get goversioninfo
+          go get github.com/josephspurrier/goversioninfo
           go generate
           dir
           env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -tags=gui -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netclient.exe main.go