diff --git a/cmd/gorepomod/internal/edit/editor.go b/cmd/gorepomod/internal/edit/editor.go index 5e42e9434..f39238288 100644 --- a/cmd/gorepomod/internal/edit/editor.go +++ b/cmd/gorepomod/internal/edit/editor.go @@ -57,8 +57,6 @@ func (e *Editor) Tidy() error { func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error { err := e.run( "edit", - "-dropreplace="+target.ImportPath(), - "-dropreplace="+target.ImportPath()+"@"+oldV.String(), "-require="+target.ImportPath()+"@"+newV.String(), ) if err != nil { diff --git a/releasing/README.md b/releasing/README.md index e08a89ee4..64a606017 100644 --- a/releasing/README.md +++ b/releasing/README.md @@ -349,43 +349,6 @@ Undraft the release on the [kustomize repo release page]: * Visit the [release page] and edit the release notes as desired. - -## Unpin everything - - -Go back into development mode, where all modules depend on in-repo code: - -``` -gorepomod unpin api --doIt && -gorepomod unpin cmd/config --doIt && -gorepomod unpin kyaml --doIt -``` - -Create the PR: -``` -createBranch unpinEverything "Back to development mode; unpin the modules" && -createPr -``` - -Run local tests while GH runs tests in the cloud: -``` -testKustomizeRepo -``` - -Wait for tests to pass, then merge the PR: -``` -gh pr status # rinse, repeat -``` -``` -gh pr merge -m -``` - -Get back on master and do paranoia test: -``` -refreshMaster && -testKustomizeRepo -``` - ## Update example test target [Makefile]: https://github.com/kubernetes-sigs/kustomize/blob/master/Makefile diff --git a/releasing/run-goreleaser.sh b/releasing/run-goreleaser.sh index 436710831..6ebaae46e 100755 --- a/releasing/run-goreleaser.sh +++ b/releasing/run-goreleaser.sh @@ -121,6 +121,7 @@ checksum: env: - CGO_ENABLED=0 - GO111MODULE=on +- GOWORK=off release: github: