mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
build: fix goreleaser deprecations
This commit is contained in:
parent
96f5d5c2ce
commit
cbc2603536
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user