Change to GOPATH before go get
So it won't touch go.mod Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
#
|
||||
set -eu -o pipefail
|
||||
|
||||
# change to tmp dir, otherwise `go get` will change go.mod
|
||||
cd "$GOPATH"
|
||||
|
||||
# install the `protobuild` binary in $GOPATH/bin; requires module-aware install
|
||||
# to pin dependencies
|
||||
GO111MODULE=on go get github.com/stevvooe/protobuild
|
||||
|
||||
Reference in New Issue
Block a user