Skip to content

Inconsistent or consistent version output? #2587

@ufdup89

Description

@ufdup89

What's your question?
After installing premake-5.0.0-beta7 and running premake5 --version, i get

premake5 (Premake Build Script Generator) 5.0.0-beta6-23-g3b2ef094.

Is this intended or should the output contain the string 5.0.0-beta7?

This same behavior seems to have caused the package manager homebrew to fail to update premake to the latest release. Have a look at https://github.com/Homebrew/homebrew-core/pull/226632/files to find that the automatically opened PR failed to merge because of line 42 of premake.rb. That line uses premake5 --version to verify that the installation.

Anything else we should know?
I am on mac OS 15.7.3 (24G419) but this should not matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions