update release tools for go workspace mode

This commit is contained in:
natasha41575
2022-07-11 10:34:08 -07:00
parent e1b6aa393a
commit ba77fd5b7f
3 changed files with 1 additions and 39 deletions

View File

@@ -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 {