forked from DataDog/stratus-red-team
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
55 lines (52 loc) · 1.25 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
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -X main.BuildVersion={{.Version}}
dir: cmd/stratus
binary: stratus
brews:
- name: stratus-red-team
repository:
owner: datadog
name: stratus-red-team
branch: "homebrew-update-{{ .Version }}"
pull_request:
enabled: true
base:
owner: datadog
name: stratus-red-team
branch: main
directory: Formula
url_template: "https://github.com/DataDog/stratus-red-team/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
license: Apache-2.0
homepage: "https://stratus-red-team.cloud"
install: |
bin.install "stratus"
# Install shell completions
generate_completions_from_executable(bin/"stratus", "completion", shells: [:bash, :fish, :zsh], base_name: "stratus")
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'