mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #3403 from monopole/betterPin
Unpin versioned and unversioned pins.
This commit is contained in:
@@ -54,6 +54,7 @@ func (e *Editor) Tidy() error {
|
|||||||
func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error {
|
func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error {
|
||||||
err := e.run(
|
err := e.run(
|
||||||
"edit",
|
"edit",
|
||||||
|
"-dropreplace="+target.ImportPath(),
|
||||||
"-dropreplace="+target.ImportPath()+"@"+oldV.String(),
|
"-dropreplace="+target.ImportPath()+"@"+oldV.String(),
|
||||||
"-require="+target.ImportPath()+"@"+newV.String(),
|
"-require="+target.ImportPath()+"@"+newV.String(),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user