Skip to content

"--version" option does not produce output matching an existing git tag #544

@david-mcdowell-ilw

Description

@david-mcdowell-ilw
$ actionlint --version
1.7.7

https://github.com/rhysd/actionlint/tags
https://github.com/rhysd/actionlint/releases/tag/v1.7.7

This version output does not match an existing tag in git.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @david-mcdowell-ilw

        Issue actions

          "--version" option does not produce output matching an existing git tag · Issue #544 · rhysd/actionlint