You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you attempt to install nfpm via go install github.com/goreleaser/nfpm/v2/cmd/[email protected] using Go 1.21 you get this error:
go: github.com/goreleaser/nfpm/v2/cmd/[email protected]: github.com/goreleaser/nfpm/[email protected] requires go >= 1.22 (running go 1.21.10; GOTOOLCHAIN=local)
nfpm version
v2.36.1 builds/installs successfully using Go 1.21
v2.37.0 fails to build
Build error:
>`go: github.com/goreleaser/nfpm/v2/cmd/[email protected]: github.com/goreleaser/nfpm/[email protected] requires go >= 1.22 (running go 1.21.10; GOTOOLCHAIN=local)`
Search
I did search for other open and closed issues before opening this.
Code of Conduct
I agree to follow this project's Code of Conduct
Additional context
If the minimum Go version change is intentional then the https://github.com/goreleaser/nfpm/blob/main/CONTRIBUTING.md doc probably needs updating to reflect that, in which case the fix is to update that file instead of reverting the minimum version listed in this project's go.mod file.
The text was updated successfully, but these errors were encountered:
What happened?
Minimum Go version changed from 1.19 to 1.22 via:
This was surprising since Go 1.21 was set as the minimum Go version in this commit:
I would have expected Go 1.21 to be the minimum Go version.
The contributing doc notes that Go 1.19 and newer is supported:
How can we reproduce this?
If you attempt to install nfpm via
go install github.com/goreleaser/nfpm/v2/cmd/[email protected]
using Go 1.21 you get this error:nfpm version
Search
Code of Conduct
Additional context
If the minimum Go version change is intentional then the https://github.com/goreleaser/nfpm/blob/main/CONTRIBUTING.md doc probably needs updating to reflect that, in which case the fix is to update that file instead of reverting the minimum version listed in this project's go.mod file.
The text was updated successfully, but these errors were encountered: