forked from awslabs/eksdemo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
58 lines (58 loc) · 1.52 KB
/
.goreleaser.yml
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
project_name: eksdemo
before:
hooks:
- go mod tidy
- ./scripts/completions.sh
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/awslabs/eksdemo/pkg/version.version={{ .Version }} -X github.com/awslabs/eksdemo/pkg/version.commit={{ .ShortCommit }} -X github.com/awslabs/eksdemo/pkg/version.date={{ .Date }}
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
files:
- LICENSE
- README.md
- completions/*
brews:
- repository:
owner: eksdemo-brew-pr-bot
name: homebrew-tap
branch: "{{.ProjectName}}-{{.Version}}"
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
pull_request:
enabled: true
base:
owner: aws
name: homebrew-tap
branch: master
directory: Formula
homepage: https://github.com/awslabs/eksdemo
description: The easy button for learning, testing and demoing Amazon EKS
license: MIT-0
dependencies:
- name: weaveworks/tap/eksctl
extra_install: |-
bash_completion.install "completions/eksdemo.bash" => "eksdemo"
zsh_completion.install "completions/eksdemo.zsh" => "_eksdemo"
fish_completion.install "completions/eksdemo.fish"
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^ci:'
- '^refactor:'
- '^test:'