mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-09-20 06:46:19 +08:00
CHORE: Update goreleaser config for new NFPM format (#2467)
Co-authored-by: SignalRichard <20459042+SignalRichard@users.noreply.github.com>
This commit is contained in:
parent
449e2a77e5
commit
7a3e30b2b5
|
@ -47,27 +47,31 @@ universal_binaries:
|
|||
id: build
|
||||
|
||||
nfpms:
|
||||
- file_name_template: '{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}'
|
||||
id: packages_rpm
|
||||
- id: packages_rpm
|
||||
file_name_template: >-
|
||||
{{ .ProjectName }}-
|
||||
{{ .Version }}.
|
||||
{{- if eq .Arch "386" }}i386
|
||||
{{- else if eq .Arch "amd64" }}x86_64
|
||||
{{- else }}{{ .Arch }}{{ end }}
|
||||
homepage: https://docs.dnscontrol.org/
|
||||
description: "DNSControl: Infrastructure as Code for DNS Zones"
|
||||
maintainer: 'Tom Limoncelli <tlimoncelli@stackoverflow.com>'
|
||||
license: MIT
|
||||
formats:
|
||||
- rpm
|
||||
replacements:
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
- file_name_template: '{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}'
|
||||
id: packages_deb
|
||||
- id: packages_deb
|
||||
file_name_template: >-
|
||||
{{ .ProjectName }}-
|
||||
{{ .Version }}.
|
||||
{{- if eq .Arch "386" }}i386
|
||||
{{- else }}{{ .Arch }}{{ end }}
|
||||
homepage: https://docs.dnscontrol.org/
|
||||
description: "DNSControl: Infrastructure as Code for DNS Zones"
|
||||
maintainer: 'Tom Limoncelli <tlimoncelli@stackoverflow.com>'
|
||||
license: MIT
|
||||
formats:
|
||||
- deb
|
||||
replacements:
|
||||
386: i386
|
||||
dockers:
|
||||
- image_templates:
|
||||
- &amd_image "stackexchange/{{.ProjectName}}:{{ .Version }}-amd64"
|
||||
|
|
Loading…
Reference in a new issue