goreleaser / nfpm

nFPM is Not FPM - a simple deb, rpm, apk, ipk, and arch linux packager written in Go
https://nfpm.goreleaser.com/
MIT License
2.14k stars 156 forks source link

Configuration Docs tells us not to use v prefix but it is included by nfpm init #730

Closed elibroftw closed 10 months ago

elibroftw commented 10 months ago

What happened?

nfpm init created a nfpm.yaml file but the version starts with a v even though the https://nfpm.goreleaser.com/configuration/ docs tells us not to.

How can we reproduce this?

install nfpm on macosx using brew install nfpm, run nfpm init, open nfpm.yaml

nfpm version

GitVersion:    v2.34.0
GitCommit:     unknown
GitTreeState:  unknown
BuildDate:     unknown
BuiltBy:       unknown
GoVersion:     go1.21.3
Compiler:      gc
ModuleSum:     unknown
Platform:      darwin/arm64

Search

Code of Conduct

Additional context

No response

caarlos0 commented 10 months ago

good catch!