tfenv
tfenv copied to clipboard
install of unwanted version: 1.1 & 1.10
installing latest:^1.1 installed in fact 1.10.0-alpha20240606
This issue needs an immediate fix
$ cat .terraform-version
$ latest:^1.1
$ tfenv install
Installing Terraform v1.10.0-alpha20240606
and
$ cat .terraform-version
latest:^1\.1\.
$ tfenv install
Installing Terraform v1.1.9
At least documentation should be updated.
I agree the documentation examples should make it clearer that this is a string match and that ^0.8 would match 0.8.1 but also 0.81.0.
Will do.