-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
.goreleaser.yml
83 lines (83 loc) · 2.29 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- freebsd
- windows
goarch:
- amd64
- arm64
scoop:
name: q
commit_author:
name: natesales
email: [email protected]
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
nfpms:
- id: nfpm-default
package_name: q
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Nate Sales
homepage: https://natesales.net/
maintainer: Nate Sales <[email protected]>
description: A tiny CLI DNS client library with support for UDP, TCP, DoT, DoH, and DoQ.
license: GNU GPL-3.0
section: utils
priority: extra
formats:
- deb
- rpm
publishers:
- name: fury.io
ids:
- nfpm-default
dir: "{{ dir .ArtifactPath }}"
cmd: curl -s -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/natesales/
brews:
- name: q
homepage: https://github.com/natesales/repo
repository:
owner: natesales
name: repo
dockers:
- image_templates:
- "ghcr.io/natesales/q:{{ .Version }}-amd64"
use: buildx
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=GPL-3.0-only
- image_templates:
- "ghcr.io/natesales/q:{{ .Version }}-arm64"
use: buildx
build_flag_templates:
- --platform=linux/arm64
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=GPL-3.0-only
goarch: arm64
docker_manifests:
- name_template: "ghcr.io/natesales/q:{{ .Version }}"
image_templates:
- "ghcr.io/natesales/q:{{ .Version }}-amd64"
- "ghcr.io/natesales/q:{{ .Version }}-arm64"
- name_template: "ghcr.io/natesales/q:latest"
image_templates:
- "ghcr.io/natesales/q:{{ .Version }}-amd64"
- "ghcr.io/natesales/q:{{ .Version }}-arm64"