-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Version format in macOS is different than other platforms #4263
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Hello, it's not a problem with golangci-lint itself but a problem with homebrew. We (the golangci-lint maintainers) are not maintainers of the homebrew formula. |
Sorry, just to confirm, then we must expect to have:
running Right? |
If you use our binaries you will see that the version has the same format on all OS. Homebrew builds the binary from sources, so the version is defined by Homebrew. It's better to follow the original golangci-lint format but Homebrew can use a different version format, there is no rule. |
Nice thanks a lot! |
There is a typo in my previous message: We (the golangci-lint maintainers) are not maintainers of the homebrew formula. |
In fact there is a problem with the build of the Docker image: #4268 |
Welcome
Description of the problem
In macOS,
golangci-lint version
returns its version in different format.Instead of
vMajor.minor.patch
. Eg using docker alternative:Version of golangci-lint
Configuration
Running
sw_vers
ProductName: macOS
ProductVersion: 12.5.1
BuildVersion: 21G83
Go environment
Verbose output of running
NA
A minimal reproducible example or link to a public repository
Install
golangci-lint
following the instructions to installgolangci-lint
locally in MacOsRun
golanci-lint --version
Validation
The text was updated successfully, but these errors were encountered: