tfenv
tfenv copied to clipboard
latest:^0.13 is preferring beta over a release candidate (rc)
Hello,
Terraform 0.13.0-rc1 is out and after installing, the following continues to use beta3 release. I had to manually set to 0.13.0-rc1 to make it work. Probably I could do a crazy regex to workaround it, but I think a preference regarding alpha / beta / rc should be done to avoid this in the future.
❯ cat .terraform-version
latest:^0.13
❯ terraform version
Terraform v0.13.0-beta3
❯ tfenv list
* 0.13.0-beta3 (set by /[REDACTED]/.terraform-version)
0.13.0-rc1
0.12.28
0.12.26
0.11.15-oci
# ------------------------------------------------------------
❯ cat .terraform-version
latest:^0.13.0-rc1
❯ terraform version
Terraform v0.13.0-rc1
❯ tfenv list
0.13.0-beta3
* 0.13.0-rc1 (set by /[REDACTED]/.terraform-version)
0.12.28
0.12.26
0.11.15-oci