Skip to content

Commit 09ab95d

Browse files
committed
Update build procedure
1 parent dbd97af commit 09ab95d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

hack/build-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -eu
44

55
REPO=github.com/openshift/cluster-version-operator
6-
GOFLAGS=${GOFLAGS:-}
6+
GOFLAGS=${GOFLAGS:--mod=vendor}
77
GLDFLAGS=${GLDFLAGS:-}
88

99
eval $(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")

hack/update-vendor.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set -euo pipefail
88
cd "$(git rev-parse --show-cdup)"
99

1010
# Run dep.
11-
dep ensure
11+
go mod vendor
12+
go mod verify
1213

1314
(cd hack && ./update-codegen.sh)

0 commit comments

Comments
 (0)