-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
108 lines (100 loc) · 2.51 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
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- go mod tidy
- go generate ./...
- ./dev/completions.sh
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/
binary: pangea
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- 386
ignore:
- goos: darwin
goarch: 386
release:
extra_files:
- glob: ./dev/download-and-install.sh
archives:
-
name_template: pangea-{{ .Os }}-{{ .Arch }}
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE
- install.sh
- completions/*
- CHANGELOG.md
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
brews:
-
name: pangea
download_strategy: CurlDownloadStrategy
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
directory: Formula
homepage: "https://pangea.cloud/"
install: |-
bin.install "pangea"
bash_completion.install "completions/pangea.bash" => "pangea"
zsh_completion.install "completions/pangea.zsh" => "_pangea"
fish_completion.install "completions/pangea.fish"
test: |
system "#{bin}/pangea --version"
repository:
owner: pangeacyber
name: homebrew-cli
branch: release-{{ .Tag }}
pull_request:
enabled: true
base:
branch: main
winget:
-
name: pangea
publisher: "PangeaCyber"
short_description: "Pangea Cyber CLI"
license: "mit"
publisher_url: https://pangea.cloud
publisher_support_url: "https://github.com/pangeacyber/pangea-cli/issues/new"
package_identifier: pangeacyber.pangea
url_template: "https://github.com/pangeacyber/pangea-cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: "Pangea Bot"
email: [email protected]
commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}"
path: manifests/p/pangeacyber/pangea/{{ .Version }}
homepage: "https://pangea.cloud/"
copyright: "Pangea Cyber Corporation"
skip_upload: auto
release_notes: "{{.Changelog}}"
repository:
owner: pangeacyber
name: winget-pkgs
branch: pangea-cli-{{ .Tag }}
# pull_request:
# enabled: true
# draft: true
# base:
# owner: microsoft
# name: winget-pkgs
# branch: master