-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
68 lines (56 loc) · 1.21 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
59
60
61
62
63
64
65
66
67
68
project_name: kubebuilder-initializer-plugin
before:
hooks:
- go mod download
-
builds:
- <<: &build_defaults
env:
- CGO_ENABLED=0
ldflags: null
main: ./cmd
mod_timestamp: '{{ .CommitTimestamp }}'
- <<: *build_defaults
id: macos
goos: [darwin]
goarch: [amd64, arm64]
- <<: *build_defaults
id: linux
goos: [linux]
goarch: [386, arm, amd64, arm64]
- <<: *build_defaults
id: windows
goos: [windows]
goarch: [amd64, arm64]
- <<: *build_defaults
id: freebsd
goos: [freebsd]
goarch: [386, amd64]
checksum:
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
algorithm: sha256
archives:
- <<: &archives_defaults
files:
- README.md
- LICENSE
id: nix
builds: [macos, linux]
format: tar.gz
- <<: *archives_defaults
id: windows
builds: [windows]
format: zip
changelog:
skip: true
release:
github:
owner: astrokube
name: kubebuilder-initializer-plugin
brews:
- name: kubebuilder-initializer-plugin
homepage: https://github.com/astrokube/homebrew-tools
tap:
owner: astrokube
name: homebrew-tools
token: "{{ .Env.TAP_GITHUB_TOKEN }}"