1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-10-01 02:21:49 +02:00

build: fix goreleaser deprecations

This commit is contained in:
Carlos Alexandro Becker 2023-05-24 03:22:25 +00:00
parent 96f5d5c2ce
commit cbc2603536
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

@ -77,12 +77,14 @@ docker_manifests:
- 'ghcr.io/goreleaser/nfpm:{{ .Tag }}-arm64v8' - 'ghcr.io/goreleaser/nfpm:{{ .Tag }}-arm64v8'
archives: archives:
- replacements: - rlcp: true
darwin: Darwin name_template: >-
linux: Linux {{ .ProjectName }}_
windows: Windows {{ .Version }}_
386: i386 {{- title .Os }}_
amd64: x86_64 {{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip format: zip
@ -109,8 +111,8 @@ brews:
fish_completion.install "completions/nfpm.fish" fish_completion.install "completions/nfpm.fish"
man1.install "manpages/nfpm.1.gz" man1.install "manpages/nfpm.1.gz"
scoop: scoops:
bucket: - bucket:
owner: goreleaser owner: goreleaser
name: scoop-bucket name: scoop-bucket
homepage: https://nfpm.goreleaser.com homepage: https://nfpm.goreleaser.com
@ -119,7 +121,7 @@ scoop:
license: MIT license: MIT
nfpms: nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}' - file_name_template: '{{ .ConventionalFileName }}'
homepage: https://nfpm.goreleaser.com homepage: https://nfpm.goreleaser.com
description: |- description: |-
Simple, 0-dependencies, deb, rpm and apk packager. Simple, 0-dependencies, deb, rpm and apk packager.