-
Notifications
You must be signed in to change notification settings - Fork 29
/
.goreleaser.yaml
120 lines (114 loc) · 3.36 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
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
111
112
113
114
115
116
117
118
119
120
project_name: azion
builds:
- env:
id: azion-unix
- CGO_ENABLED=0
main: ./cmd/azion
ldflags:
- -X github.com/aziontech/azion-cli/pkg/cmd/version.BinVersion={{ .Env.BIN_VERSION }}
- -X github.com/aziontech/azion-cli/pkg/metric/metric.SegmentKey={{ .Env.SEGMENT_KEY }}
- -X github.com/aziontech/azion-cli/pkg/constants.AuthURL={{ .Env.AUTH_URL }}
- -X github.com/aziontech/azion-cli/pkg/constants.ApiURL={{ .Env.API_URL }}
- -X github.com/aziontech/azion-cli/pkg/constants.StorageApiURL={{ .Env.STORAGE_URL }}
- -X github.com/aziontech/azion-cli/pkg/pkg/cmd/edge_applications/init.TemplateBranch={{ .Env.TEMPLATE_BRANCH }}
binary: azion
goos:
- linux
- darwin
- freebsd
goarch:
- "386"
- amd64
- arm
- arm64
- ppc64
goarm:
- "7"
ignore:
- goos: windows
goarch: arm
- env:
id: azion-windows
- CGO_ENABLED=0
main: ./cmd/azion
ldflags:
- -X github.com/aziontech/azion-cli/pkg/cmd/version.BinVersion={{ .Env.BIN_VERSION }}
- -X github.com/aziontech/azion-cli/pkg/metric/metric.SegmentKey={{ .Env.SEGMENT_KEY }}
- -X github.com/aziontech/azion-cli/pkg/constants.AuthURL={{ .Env.AUTH_URL }}
- -X github.com/aziontech/azion-cli/pkg/constants.ApiURL={{ .Env.API_URL }}
- -X github.com/aziontech/azion-cli/pkg/constants.StorageApiURL={{ .Env.STORAGE_URL }}
- -X github.com/aziontech/azion-cli/pkg/pkg/cmd/edge_applications/init.TemplateBranch={{ .Env.TEMPLATE_BRANCH }}
binary: azion
goos:
- windows
goarch:
- "386"
- amd64
- arm64
archives:
- format: zip
before:
hooks:
- chmod +x ./scripts/completions.sh
- ./scripts/completions.sh
nfpms:
- id: packages
license: MIT
maintainer: Azion Technologies <https://github.com/aziontech>
package_name: azion
homepage: https://github.com/aziontech/azion
bindir: /usr/local/bin
formats:
- apk
- deb
- rpm
- contents:
- src: completions/azion.bash
dst: /usr/share/bash-completion/completions/azion
file_info:
mode: 0644
- src: completions/azion.fish
dst: /usr/share/fish/vendor_completions.d/azion.fish
file_info:
mode: 0644
- src: completions/azion.zsh
dst: /usr/share/zsh/vendor-completions/_azion
file_info:
mode: 0644
checksum:
name_template: "{{ .ProjectName }}_v{{ .Env.BIN_VERSION }}_checksum"
snapshot:
name_template: "{{ incpatch .Env.BIN_VERSION }}-next"
changelog:
sort: asc
filters:
exclude:
- "merge conflict"
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: "Breaking Changes"
regexp: "^.*breaking[(\\w)]*:+.*$"
order: 0
- title: "New Features"
regexp: "^.*feat[(\\w)]*:+.*$"
order: 10
- title: "Improvements"
regexp: "^.*chore[(\\w)]*:+.*$"
order: 20
- title: "Bug Fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 30
- title: "Security Updates"
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
order: 40
- title: "Documentation Updates"
regexp: ^.*?docs(\([[:word:]]+\))??!?:.+$
order: 50
- title: "Tests"
regexp: ^.*?(test(s)?(\([[:word:]]+\))?)!?:.+$
order: 60
- title: Other Work
order: 999