mirror of
https://github.com/goreleaser/nfpm
synced 2024-09-29 04:33:45 +02:00
fix: wrong separator in conventional RPM file name (#163)
Co-authored-by: Erik Geiser <erik.geiser@redteam-pentesting.de>
This commit is contained in:
parent
9b6e3c4260
commit
e3a424afed
@ -51,7 +51,7 @@ func ensureValidArch(info *nfpm.Info) *nfpm.Info {
|
||||
func (*RPM) ConventionalFileName(info *nfpm.Info) string {
|
||||
info = ensureValidArch(info)
|
||||
// name-version-release.architecture.rpm
|
||||
return fmt.Sprintf("%s_%s.%s.rpm", info.Name, info.Version, info.Arch)
|
||||
return fmt.Sprintf("%s-%s.%s.rpm", info.Name, info.Version, info.Arch)
|
||||
}
|
||||
|
||||
// Package writes a new RPM package to the given writer using the given info.
|
||||
|
Loading…
Reference in New Issue
Block a user