diff --git a/README.md b/README.md index 1887e0a..1f8ef95 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ If a parameter is passed, available options: - `latest` is a syntax to install latest version - `latest:` is a syntax to install latest version matching regex (used by grep -e) - `latest-allowed` is a syntax to scan your Terraform files to detect which version is maximally allowed. +- `latest-allowed-stable` is the same as `latest-allowed`, but only considers stable versions and not pre-releases. - `min-required` is a syntax to scan your Terraform files to detect which version is minimally required. See [required_version](https://developer.hashicorp.com/terraform/language/settings) docs. Also [see min-required & latest-allowed](#min-required) section below. @@ -104,6 +105,7 @@ $ tfenv install 0.7.0 $ tfenv install latest $ tfenv install latest:^0.8 $ tfenv install latest-allowed +$ tfenv install latest-allowed-stable $ tfenv install min-required ``` @@ -131,7 +133,7 @@ validation failure. If you use a [.terraform-version](#terraform-version-file) file, `tfenv install` (no argument) will install the version written in it. -#### min-required & latest-allowed +#### min-required & latest-allowed & latest-allowed-stable Please note that we don't do semantic version range parsing but use first ever found version as the candidate for minimally required one. It is up to the user to keep the definition reasonable. I.e.