Regression in handling tfenv regex in .terraform-version #3833
Unanswered
mengesb
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Mise is not properly parsing
.terraform-version
files from tfenv when regex is present. tfenv allows for alatest:<regex>
syntax, so something likelatest:^1\.[0-9]\+\.[0-9]\+$
ensures a semver compatible result. Unfortunately using something likelatest:^1\.0
will result in version retuns for-alpha
or-beta
, etc, type versions, so this ensures a released compatible version is matched.To Reproduce
Expected behavior
mise installs correct version terraform
mise doctor
outputAdditional context
Looks like regression of #917 or #1727
Beta Was this translation helpful? Give feedback.
All reactions