From 4c5048fbafdfd6bbe1a1e41f79f54413dfd28c6d Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Fri, 6 Nov 2020 10:57:38 +1100 Subject: [PATCH] Improve terraform_version docs (#58) Fix a documented constraint -- `~0.13` will only install 0.13.0, while `~0.13.0` will install the latest 0.13 release. And mention that prerelease versions cannot be installed with this action. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4250ef7..a2f3223 100644 --- a/README.md +++ b/README.md @@ -146,9 +146,9 @@ The action supports the following inputs: - `terraform_version` - (optional) The version of Terraform CLI to install. Instead of a full version string, you can also specify a constraint string (see [Semver Ranges](https://www.npmjs.com/package/semver#ranges) - for available range specifications). Examples are: `<0.13.0`, `~0.12`, `0.12.x` (all three installing - the latest available 0.12 version). The special value of `latest` installs the latest version of - Terraform CLI. Defaults to `latest`. + for available range specifications). Examples are: `<0.14.0`, `~0.13.0`, `0.13.x` (all three installing + the latest available 0.13 version). Prerelease versions are always ignored. The special value of `latest` + installs the latest version of Terraform CLI. Defaults to `latest`. - `terraform_wrapper` - (optional) Whether to install a wrapper to wrap subsequent calls of the `terraform` binary and expose its STDOUT, STDERR, and exit code as outputs