We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15fdbf6 + 36f59a9 commit 3c0eba8Copy full SHA for 3c0eba8
1 file changed
hack/pin-bundle-images.sh
@@ -17,7 +17,7 @@ if [ -n "$DOCKERFILE" ]; then
17
fi
18
19
#loop over each openstack-k8s-operators go.mod entry
20
-MOD_PATHS=$(go list -mod=readonly -m -json all | jq -r '. | select(.Path | contains("openstack")) | .Replace // . |.Path' | grep -v openstack-operator | grep -v lib-common)
+MOD_PATHS=$(go list -mod=readonly -m -json all | jq -r '. | select(.Path | contains("openstack")) | select(.Path | contains("openstack-operator") | not) | select(.Path | contains("lib-common") | not) | .Replace // . |.Path')
21
for MOD_PATH in ${MOD_PATHS}; do
22
if [[ "$MOD_PATH" == "./apis" ]]; then
23
continue
0 commit comments