Support monorepo release versions for plugins #2035
Replies: 2 comments 2 replies
-
Personally, I support adding the However, if the |
Beta Was this translation helpful? Give feedback.
-
Thank you @wata727!
I agree it might be non trivial but my naive approach was check if semver format if yes without v, prefix v. Everything else pass as is.
I think version would still be useful incase tflint had plans of introducing something like #1181 |
Beta Was this translation helpful? Give feedback.
-
Introduction
We manage some of our TF tooling in a mono repo and would like to keep our custom plugin also in the mono repo. We follow a convention like
pkg/vM.m.p
when tagging releases (example:tflint-ruleset-foo/v0.1.0
).I tried to configure this like:
However it seems like this does not working when installing plugins via
tflint --init
when as a "v" is prepended to resolve the tag name.Proposal
One approach could be skipping the prepend of
v
if a semver with version is explicitly specified likeversion = "tflint-ruleset-foo/v0.1.0"
. Alternatively we could support an additionaltag
attrib liketag = "tflint-ruleset-foo/v0.1.0"
.References
Beta Was this translation helpful? Give feedback.
All reactions