$ yamllint --version
yamllint 1.37.1
This version output does not match an existing tag in git.
https://github.com/adrienverge/yamllint/tags
https://github.com/adrienverge/yamllint/releases/tag/v1.37.1
I would expect either the --version option to return the version number with a "v" prefix or the git tags to omit the "v" prefix to match the version output.
The existing behavior causes issues where other tools or users are using the --version output to point to a git tag (e.g., when defining a pre-commit hook, or e.g., when aggregating versions of many linters and formatters like in super-linter).
related issue: super-linter/super-linter#6826