| 1 | #!/bin/bash |
| 2 | # Copyright 2019 The Kubernetes Authors. |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | set -e |
| 6 | |
| 7 | : "${kyaml_major?Need to source VERSIONS}" |
| 8 | : "${kyaml_minor?Need to source VERSIONS}" |
| 9 | : "${kyaml_patch?Need to source VERSIONS}" |
| 10 | |
| 11 | go mod edit -dropreplace=sigs.k8s.io/kustomize/[email protected] |
| 12 | go mod edit -dropreplace=sigs.k8s.io/kustomize/[email protected] |
| 13 | go mod edit -require=sigs.k8s.io/kustomize/kyaml@v$kyaml_major.$kyaml_minor.$kyaml_patch |