-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
110 lines (98 loc) · 2.16 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
version: 2
builds:
- binary: ghs
goos:
- darwin
- linux
- freebsd
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
release:
prerelease: auto
universal_binaries:
- replace: true
brews:
- name: ghs
homepage: "https://github.com/flexwie/ghs"
repository:
owner: flexwie
name: homebrew-flexwie
commit_author:
name: flexwie
email: [email protected]
description: "a npx-like script execution for gists"
license: MIT
dependencies:
- gh
nfpms:
- id: aptpackages
package_name: ghs
homepage: https://github.com/flexwie/ghs
maintainer: Felix Wieland <[email protected]>
description: a npx-like script execution for gists
license: MIT
formats:
- deb
- rpm
dependencies:
- gh
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
publishers:
- name: fury.io
ids:
- aptpackages
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/flexwie/
dir: "{{ dir .ArtifactPath }}"
dockers:
- image_templates:
- ghcr.io/flexwie/ghs:{{ .Tag }}
- ghcr.io/flexwie/ghs:latest
# TODO: reenable nur repo
# nix:
# - name: ghs
# commit_author:
# name: Felix Wieland
# email: [email protected]
# homepage: https://github.com/flexwie/ghs
# description: a npx-like script execution for gists
# license: mit
# dependencies:
# - gh
# repository:
# owner: flexwie
# name: nur-packages
checksum:
name_template: "checksums.txt"
binary_signs:
- cmd: gpg2
args:
[
"-u",
"{{ .Env.GPG_KEYID }}",
"--output",
"${signature}",
"--detach-sign",
"${artifact}",
]
signs:
- artifacts: checksum
cmd: gpg2
args:
[
"--batch",
"-u",
"{{ .Env.GPG_KEYID }}",
"--output",
"${signature}",
"--detach-sign",
"${artifact}",
]
announce:
bluesky:
enabled: true
username: "me.felixwie.com"
message_template: "📜 {{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"