Closed atc0005 closed 2 months ago
On a different note, many thanks for this tool!
it wasn't intentional, no - must have slipped with some dep update... fixing!
thanks for letting me know 💜
pushed new tag with the fixes, let me know if it works as expected now.
@caarlos0 That was fast!
nfpm v2.37.1 builds without issue using Go 1.21.
Thank you!
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/nfpm@v2.37.0
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.