tfenv icon indicating copy to clipboard operation
tfenv copied to clipboard

install of unwanted version: 1.1 & 1.10

Open flav1972 opened this issue 1 year ago • 3 comments

installing latest:^1.1 installed in fact 1.10.0-alpha20240606

flav1972 avatar Jun 10 '24 15:06 flav1972

This issue needs an immediate fix

MageshSrinivasulu avatar Jun 11 '24 04:06 MageshSrinivasulu

$ 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.

flav1972 avatar Jun 12 '24 08:06 flav1972

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.

Zordrak avatar Jul 04 '25 15:07 Zordrak