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