Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法正确安装指定的版本 #37

Open
kuluce opened this issue May 28, 2024 · 1 comment
Open

无法正确安装指定的版本 #37

kuluce opened this issue May 28, 2024 · 1 comment

Comments

@kuluce
Copy link

kuluce commented May 28, 2024

Describe the bug
通过go install方式安装指定版本时,始终都会自动安装最新的版本,例如:

[dev@dev bin]$ go install github.com/zhufuyi/sponge/cmd/[email protected]
go: github.com/zhufuyi/sponge/cmd/[email protected]: github.com/zhufuyi/sponge/cmd/[email protected]: invalid version: unknown revision 1.8.0
[dev@dev bin]$ go install github.com/zhufuyi/sponge/cmd/[email protected]
go: downloading github.com/zhufuyi/sponge v1.8.0
go: downloading github.com/huandu/xstrings v1.3.3
[dev@dev bin]$ sponge -v
sponge version v1.8.1

Environments (please complete the following information):

  • OS: CentOS Linux 7 (Core)
  • sponge version 1.8.0

More description
none

@zhufuyi
Copy link
Owner

zhufuyi commented May 29, 2024

可以更新到指定版本,例如 sponge upgrade --version=v1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants