-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: recommend 'go get' command to switch from retracted versions
This CL restores a message unintentionally removed in CL 270858. For #24031 Change-Id: I957c5c59e624df98e72dfff351298bfc5bf9a9e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/272066 Trust: Jay Conrod <[email protected]> Run-TryBot: Jay Conrod <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]>
- Loading branch information
Jay Conrod
committed
Nov 20, 2020
1 parent
c306fd6
commit a19c925
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ cp go.mod.orig go.mod | |
go mod edit -require example.com/retract/self/[email protected] | ||
go get -d example.com/retract/self/prev | ||
stderr '^go: warning: example.com/retract/self/[email protected]: retracted by module author: self$' | ||
stderr '^go: run ''go get example.com/retract/self/prev@latest'' to switch to the latest unretracted version$' | ||
go list -m example.com/retract/self/prev | ||
stdout '^example.com/retract/self/prev v1.9.0$' | ||
|
||
|