forked from aziontech/azion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
107 lines (101 loc) · 2.84 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
project_name: azion
builds:
- env:
- 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/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
goarch:
- amd64
- arm64
archives:
- files:
- completions/*
before:
hooks:
- chmod +x ./scripts/completions.sh
- ./scripts/completions.sh
brews:
- name: azion
homepage: https://github.com/aziontech/azion-cli
description: Interact in a developer friendly way with Azion
license: "MIT"
dependencies:
- name: jq
repository:
owner: aziontech
name: homebrew-tap
install: |
bin.install "azion"
bash_completion.install "completions/azion.bash" => "azion"
zsh_completion.install "completions/azion.zsh" => "_azion"
fish_completion.install "completions/azion.fish"
test: |
system "#{bin}/azion", "--version"
nfpms:
- id: packages
license: MIT
maintainer: Azion Technologies <https://github.com/aziontech>
package_name: azion
homepage: https://github.com/aziontech/azion-cli
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:
- '^test:'
- '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: ^.*?doc(\([[:word:]]+\))??!?:.+$
order: 50
- title: Other Work
order: 999