File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 10
10
set -o nounset
11
11
set -ex
12
12
13
- # The bucket url of this script in Google Cloud, set in sync_scripts
14
13
: " ${API_GROUP?API_GROUP is not set} "
15
14
: " ${OLD_API_VERSION:? OLD_API_VERSION is not set, it needs the format vX} "
16
15
: " ${NEW_API_VERSION:? NEW_API_VERSION is not set, it needs the format vX} "
@@ -40,11 +39,11 @@ function generate_client_files {
40
39
rm client/api/$target /api.pb.go || true
41
40
rm client/groups/$target /client_generated.go || true
42
41
43
- # generate client_generated.go
44
- make generate-csi-proxy-api-gen
45
42
# generate api.pb.go
46
43
# it's going to fail but it's expected :(
47
44
make generate-protobuf || true
45
+ # generate client_generated.go
46
+ make generate-csi-proxy-api-gen
48
47
49
48
# restore files from other API groups (side effect of generate-protobuf)
50
49
other_leaf_client_files=$( find client/api/ -links 2 -type d -exec echo {} \; | grep -v " $target \$ " )
You can’t perform that action at this time.
0 commit comments