-
Notifications
You must be signed in to change notification settings - Fork 248
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
goenv global 1.20rc2
fails
#389
Comments
@reneleonhardt can you please assist? |
I restored support for release candidates in local, global, install and installed, please review #392. Please note:
|
I was thinking as a future feature and would make usage a lot more flexible, we add a going sync command. It will autogenerate the version files using the go API and only pick the ones relevant to your OS and Arch. |
@reneleonhardt @ChronosMasterOfAllTime Thanks for looking into this. Unfortunately, it seems that
|
Thanks for letting us know. It would be worth writing a quick test to recreate the issue first and then trying to fix that. |
A quick test would be: diff --git test/goenv-global.bats test/goenv-global.bats
index 7dd589f..c99e5f9 100644
--- test/goenv-global.bats
+++ test/goenv-global.bats
@@ -57,6 +57,12 @@ OUT
assert_success ""
run goenv-global
assert_success "1.2.3"
+
+ mkdir -p "$GOENV_ROOT/versions/1.20rc2"
+ run goenv-global 1.20rc2
+ assert_success
+ run goenv-global
+ assert_success "1.20rc2"
}
@test "sets properly sorted latest global version when 'latest' version is given and any version is installed" { |
Since #374, we cannot set RC go via
goenv global
orgoenv local
.Steps to reproduce
My environment
The text was updated successfully, but these errors were encountered: