-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
73 lines (63 loc) · 1.49 KB
/
.goreleaser.yaml
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
version: 1
release:
name_template: "pro v{{.Version}}"
# https://goreleaser.com/customization/archive/
archives:
- format: binary
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "{{ .ProjectName }}-checksums.txt"
before:
hooks:
- go mod tidy
builds:
- id: windows
goos: [windows]
goarch: [386, amd64]
- id: linux
goos: [linux]
goarch: [amd64, arm64]
- id: darwin
goos: [darwin]
goarch: [amd64, arm64]
brews:
- repository:
owner: wowu
name: homebrew-tap
token: "{{ .Env.GORELEASER_REPO_TOKEN }}"
homepage: https://github.com/wowu/pro
license: MIT
nfpms:
- id: packages
maintainer: wowu
file_name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
license: MIT
homepage: https://github.com/wowu/pro
description: A single command to quickly open current PR in browser.
formats:
- deb
- rpm
scoops:
- repository:
owner: wowu
name: scoop
token: "{{ .Env.GORELEASER_REPO_TOKEN }}"
description: A single command to quickly open current PR in browser.
license: MIT
publishers:
- name: fury.io
ids: [packages]
dir: "{{ dir .ArtifactPath }}"
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/wowu/
changelog:
filters:
exclude:
- "^docs:"
- "^ci:"
- "^chore:"
- "^refactor:"
- "^test:"
- "^build:"