-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SemVer issue with Terraform on v1 releases #200
Comments
Cite from https://learn.hashicorp.com/tutorials/terraform/versions:
So semantically in |
@yermulnik sure you can also use |
@yermulnik the actual point of this issue is that prior to Terraform v1 this tool would let you get the latest non-breaking changes to a release line, but since v1 you can only get the latest patches. |
The referred item 4 from semver 2.0.0 doesn't shift |
I might be wrong though and I'd leave this to be considered by |
@yermulnik you've misread the SemVer spec. In SemVer a major version change is always considered breaking, but item 4 says that if the major version is To clarify, for Terraform version For final reference take a look at the Terraform v1 Compatibility Promises. |
I did not. From what I personally (as a user of Cheers 😉 |
At this time, Just to clarify are you saying that |
@yermulnik @stevehipwell I was looking at the docs.
The code above downloads 1.14 (latest at this time). |
@warrensbox Just for the sake of clarity: latest is |
Yes. that's what I meant. That's a typo. |
#216 fixed |
I ran the following command and got an error despite it being semantically the same as the documented
tfswitch --latest-stable 0.13
command.$ tfswitch --latest-stable 1 $ Invalid minor terraform version format. Format should be #.# where # are numbers. For example, 0.11 is valid version
I suspect this is because this tool was only designed to work with pre v1 versions of Terraform. Semantically in
v0.11
there is no explicit minor version as the major version is11
.The text was updated successfully, but these errors were encountered: