The -v/--version output reports UNKNOWN for the pre-compiled release binaries distributed here: https://github.com/hadolint/hadolint/releases/tag/v2.8.0
Expected behavior
On Mac:
❯ ./hadolint-Darwin-x86_64 -v
Haskell Dockerfile Linter 2.8.0-no-git
On Linux:
❯ ./hadolint-Linux-x86_64 -v
Haskell Dockerfile Linter 2.8.0-no-git
Actual behavior
On Mac:
❯ ./hadolint-Darwin-x86_64 -v
Haskell Dockerfile Linter UNKNOWN
On Linux:
❯ ./hadolint-Linux-x86_64 -v
Haskell Dockerfile Linter UNKNOWN
Steps to reproduce the behavior
See above.
Dockerfile (if relevant)
N/A
Additional environment details (OS, stack version, etc.)
Mac or Linux OS versions, possibly Windows (untested).