Skip to content

[2.8.0] pre-built binary releases for Linux and Mac report version as UNKNOWN #730

@robert914

Description

@robert914
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions