-
Notifications
You must be signed in to change notification settings - Fork 441
[2.8.0] pre-built binary releases for Linux and Mac report version as UNKNOWN #730
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
Closed
2 of 3 tasks
Comments
no idea why, must be some change in the CI which I'm unaware of. Help appreciated |
Jop, can also confirm that. |
I'm seeing this on macOS with Homebrew binary for v2.8.0. |
The Windows binary has this issue too. |
3 tasks
m-ildefons
added a commit
to m-ildefons/hadolint
that referenced
this issue
Nov 10, 2021
Construct the version string correctly when not compiling in a git directory. This bug was caused by a typo and a misunderstanding of the code when the version string logic was moved from app/Main.hs to src/Hadolint/Meta.hs in commit 3b1de5a fixes: hadolint#730
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
-v
/--version
output reportsUNKNOWN
for the pre-compiled release binaries distributed here: https://github.com/hadolint/hadolint/releases/tag/v2.8.0Expected behavior
On Mac:
On Linux:
Actual behavior
On Mac:
On Linux:
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).
The text was updated successfully, but these errors were encountered: