Skip to content

fix: support offical binaries of golangci-lint#74

Merged
crispgm merged 1 commit intocrispgm:mainfrom
smlx:release-golangci-lint-compat
Aug 19, 2025
Merged

fix: support offical binaries of golangci-lint#74
crispgm merged 1 commit intocrispgm:mainfrom
smlx:release-golangci-lint-compat

Conversation

@smlx
Copy link
Contributor

@smlx smlx commented Aug 18, 2025

Upstream uses Goreleaser to produce offical binaries. Goreleaser strips the "v" prefix from version strings by default. So update the nvim-go version check to also recognize that version format.

For upstream's explanation of this, see:
golangci/golangci-lint#5069 (comment)

This fixes an error I've seen when a release version of golangci-lint v2 is in $PATH.

Upstream uses Goreleaser to produce offical binaries. Goreleaser strips
the "v" prefix from version strings by default. So update the nvim-go
version check to also recognize that version format.

For upstream's explanation of this, see:
golangci/golangci-lint#5069 (comment)
@crispgm crispgm merged commit b1b4268 into crispgm:main Aug 19, 2025
0 of 3 checks passed
@crispgm
Copy link
Owner

crispgm commented Aug 19, 2025

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants